]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] grab swap token reordered
authorAshwin Chaugule <ashwin.chaugule@celunite.com>
Thu, 7 Dec 2006 04:31:54 +0000 (20:31 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:21 +0000 (08:39 -0800)
commit098fe651f7e9d759d1117c78c1a642b9b3945922
tree8688e367d04c8341e79d9da775dccb9dc7747509
parentcd54e7e54318d333227b13186f9a464bf1f68d27
[PATCH] grab swap token reordered

Make sure the contention for the token happens _before_ any read-in and
kicks the swap-token algo only when the VM is under pressure.

Signed-off-by: Ashwin Chaugule <ashwin.chaugule@celunite.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/filemap.c
mm/memory.c