]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] More page migration: do not inc/dec rss counters
authorChristoph Lameter <clameter@sgi.com>
Fri, 23 Jun 2006 09:03:38 +0000 (02:03 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 23 Jun 2006 14:42:51 +0000 (07:42 -0700)
commitbd139b04fa4a7970c790afd57a75fe0b80ed1564
tree200e5ace0310755d88dd1c7597cc0bb540264fe1
parentbc4949441f5cfdcbe7c6abbd1ac3b4a96c168119
[PATCH] More page migration: do not inc/dec rss counters

If we install a migration entry then the rss not really decreases since the
page is just moved somewhere else.  We can save ourselves the work of
decrementing and later incrementing which will just eventually cause cacheline
bouncing.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/migrate.c
mm/rmap.c