From: Christoph Lameter Date: Mon, 6 Dec 2010 17:40:02 +0000 (-0600) Subject: vmstat: Use this_cpu_inc_return for vm statistics X-Git-Tag: v2.6.38-rc1~455^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=908ee0f122bf2a67414854af5b90c6621d186a71;p=pandora-kernel.git vmstat: Use this_cpu_inc_return for vm statistics this_cpu_inc_return() saves us a memory access there. Code size does not change. V1->V2: - Fixed the location of the __per_cpu pointer attributes - Sparse checked V2->V3: - Move fixes to __percpu attribute usage to earlier patch Reviewed-by: Pekka Enberg Acked-by: H. Peter Anvin Signed-off-by: Christoph Lameter Signed-off-by: Tejun Heo --- Reading git-diff-tree failed