]> git.baikalelectronics.ru Git - kernel.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)
commit415ac1e86aa67d2283db544ea6a2fd0e421b25a3
tree159a00b71ce9db161a48e4fc07b212db455a2cf1
parent89f10154978c94abf3585f5dd8f5f99c45cd331b
[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