]> git.baikalelectronics.ru Git - kernel.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)
commit509f5ea0d59f5ad7b006f228218fdd0cbc6c1bed
tree8688e367d04c8341e79d9da775dccb9dc7747509
parentfb81317beac256310c6b334ead4a23230ec7e62d
[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