]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Reorder ZVCs according to cacheline
authorChristoph Lameter <clameter@sgi.com>
Sat, 10 Feb 2007 09:43:02 +0000 (01:43 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 18:51:17 +0000 (10:51 -0800)
commit0f6ebf70c698e33d4cb9e8440c040cb6b62fbcca
tree580e03859b7c78a05a6ed479957cd3a1d846c5da
parent9b65ac16eecb0357da122878a3d4b82787cd1508
[PATCH] Reorder ZVCs according to cacheline

The global and per zone counter sums are in arrays of longs.  Reorder the ZVCs
so that the most frequently used ZVCs are put into the same cacheline.  That
way calculations of the global, node and per zone vm state touches only a
single cacheline.  This is mostly important for 64 bit systems were one 128
byte cacheline takes only 8 longs.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mmzone.h
mm/vmstat.c