From: Nick Piggin Date: Sat, 3 Sep 2005 22:54:47 +0000 (-0700) Subject: [PATCH] mm: micro-optimise rmap X-Git-Tag: v2.6.14-rc1~972 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2822c1aa574d277b9ba0130b1e71c1a5874bc04a;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed