Files
kernel_xiaomi_sm8250/kernel
Ingo Molnar 77034937dc sched: fix crash in sys_sched_rr_get_interval()
Luiz Fernando N. Capitulino reported that sched_rr_get_interval()
crashes for SCHED_OTHER tasks that are on an idle runqueue.

The fix is to return a 0 timeslice for tasks that are on an idle
runqueue. (and which are not running, obviously)

this also shrinks the code a bit:

   text    data     bss     dec     hex filename
  47903    3934     336   52173    cbcd sched.o.before
  47885    3934     336   52155    cbbb sched.o.after

Reported-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2007-12-04 17:04:39 +01:00
..
2007-11-14 18:45:43 -08:00
2007-11-26 21:21:49 +01:00
2007-10-21 02:37:45 -04:00
2007-10-21 02:37:45 -04:00
2007-10-21 02:37:45 -04:00
2007-10-21 02:37:45 -04:00
2007-11-14 18:45:37 -08:00
2007-10-18 14:37:24 -07:00
2007-10-18 14:37:26 -07:00
2007-10-19 11:53:49 -07:00
2007-10-16 09:43:10 -07:00
2007-11-19 11:20:43 +11:00
2007-10-11 22:11:12 +02:00
2007-10-19 11:53:34 -07:00
2007-11-14 18:45:43 -08:00
2007-10-18 14:37:24 -07:00
2007-10-18 14:37:24 -07:00