]> git.hungrycats.org Git - linux/commit
[PATCH] sched: fix scheduling latencies for !PREEMPT kernels
authorIngo Molnar <mingo@elte.hu>
Sat, 8 Jan 2005 05:53:24 +0000 (21:53 -0800)
committerLinus Torvalds <torvalds@evo.osdl.org>
Sat, 8 Jan 2005 05:53:24 +0000 (21:53 -0800)
commit2b5726db9f5d0583eaad993c5a0b99355bf05a20
tree718af726aa66b66506d3801c8ad1ec436a029a83
parenta0332406058f2ffc44c15c60d5650708914465a2
[PATCH] sched: fix scheduling latencies for !PREEMPT kernels

This patch adds a handful of cond_resched() points to a number of key,
scheduling-latency related non-inlined functions.

This reduces preemption latency for !PREEMPT kernels.  These are scheduling
points complementary to PREEMPT_VOLUNTARY scheduling points (might_sleep()
places) - i.e.  these are all points where an explicit cond_resched() had
to be added.

Has been tested as part of the -VP patchset.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/exec.c
fs/fs-writeback.c
fs/select.c
kernel/printk.c
mm/memory.c
mm/slab.c
mm/vmscan.c