]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] rmap: don't test rss
authorHugh Dickins <hugh@veritas.com>
Sat, 3 Sep 2005 22:54:43 +0000 (15:54 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Mon, 5 Sep 2005 07:05:42 +0000 (00:05 -0700)
commit839b9685e80592809d6dfdd865986cd1b5ddc2fb
tree9c46cc93d8467035419028e6e47f25a547e6ad9a
parent3279ffd97f1b3962e40d3c5f09495ef8320b180b
[PATCH] rmap: don't test rss

Remove the three get_mm_counter(mm, rss) tests from rmap.c: there was a
time when testing rss was important to avoid a particular race between
dup_mmap and the anonmm rmap; but now it's just a rather silly pseudo-
optimization, made even more obscure by the get_mm_counter macro.

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/rmap.c