]> git.baikalelectronics.ru Git - kernel.git/commit
sched: fix niced_granularity() shift
authorIngo Molnar <mingo@elte.hu>
Wed, 5 Sep 2007 12:32:49 +0000 (14:32 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 5 Sep 2007 12:32:49 +0000 (14:32 +0200)
commita81c8c0b6a90c5de5a846763a21d83e19fbfe2a5
tree25a8ee03d5d85f8138af5c6df558646989357376
parenta1a541f03672a68e90f4e7e5a5defea8eb82f02e
sched: fix niced_granularity() shift

fix niced_granularity(). This resulted in under-scheduling for
CPU-bound negative nice level tasks (and this in turn caused
higher than necessary latencies in nice-0 tasks).

Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_fair.c