From: Dimitri Sivanich Date: Tue, 1 Nov 2011 00:09:46 +0000 (-0700) Subject: mm/vmstat.c: cache align vm_stat X-Git-Tag: v3.2-rc1~108^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1cb2c60ddc98ff4e5246f410558805401ceee67;p=pandora-kernel.git mm/vmstat.c: cache align vm_stat Avoid false sharing of the vm_stat array. This was found to adversely affect tmpfs I/O performance. Tests run on a 640 cpu UV system. With 120 threads doing parallel writes, each to different tmpfs mounts: No patch: ~300 MB/sec With vm_stat alignment: ~430 MB/sec Signed-off-by: Dimitri Sivanich Acked-by: Christoph Lameter Acked-by: Mel Gorman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed