]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] swap: scan_swap_map latency breaks
authorHugh Dickins <hugh@veritas.com>
Sat, 3 Sep 2005 22:54:40 +0000 (15:54 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Mon, 5 Sep 2005 07:05:41 +0000 (00:05 -0700)
commit048c27fd72816b44e096997d1c6901c3abbfd45b
tree159a00b71ce9db161a48e4fc07b212db455a2cf1
parent52b7efdbe5f5696fc80338560a3fc51e0b0a993c
[PATCH] swap: scan_swap_map latency breaks

The get_swap_page/scan_swap_map latency can be so bad that even those without
preemption configured deserve relief: periodically cond_resched.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/swapfile.c