summaryrefslogtreecommitdiff
path: root/mm/mempolicy.c
diff options
context:
space:
mode:
authorHugh Dickins <hugh@veritas.com>2005-09-03 15:54:43 -0700
committerLinus Torvalds <torvalds@evo.osdl.org>2005-09-05 00:05:42 -0700
commit839b9685e80592809d6dfdd865986cd1b5ddc2fb (patch)
tree9c46cc93d8467035419028e6e47f25a547e6ad9a /mm/mempolicy.c
parent3279ffd97f1b3962e40d3c5f09495ef8320b180b (diff)
downloadlwn-839b9685e80592809d6dfdd865986cd1b5ddc2fb.tar.gz
lwn-839b9685e80592809d6dfdd865986cd1b5ddc2fb.zip
[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>
Diffstat (limited to 'mm/mempolicy.c')
0 files changed, 0 insertions, 0 deletions