aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorNick Piggin <nickpiggin@yahoo.com.au>2005-09-03 15:54:47 -0700
committerLinus Torvalds <torvalds@evo.osdl.org>2005-09-05 00:05:43 -0700
commit2822c1aa574d277b9ba0130b1e71c1a5874bc04a (patch)
tree6a48d5db83831b6521bbc5795a70ea5ab7446b0e /lib
parent[PATCH] mm: comment rmap (diff)
downloadlinux-dev-2822c1aa574d277b9ba0130b1e71c1a5874bc04a.tar.xz
linux-dev-2822c1aa574d277b9ba0130b1e71c1a5874bc04a.zip
[PATCH] mm: micro-optimise rmap
Microoptimise page_add_anon_rmap. Although these expressions are used only in the taken branch of the if() statement, the compiler can't reorder them inside because atomic_inc_and_test is a barrier. Signed-off-by: Nick Piggin <npiggin@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions