acrn-kernel/drivers/base
Christoph Lameter ca889e6c45 [PATCH] Use Zoned VM Counters for NUMA statistics
The numa statistics are really event counters.  But they are per node and
so we have had special treatment for these counters through additional
fields on the pcp structure.  We can now use the per zone nature of the
zoned VM counters to realize these.

This will shrink the size of the pcp structure on NUMA systems.  We will
have some room to add additional per zone counters that will all still fit
in the same cacheline.

 Bits	Prior pcp size	  	Size after patch	We can add
 ------------------------------------------------------------------
 64	128 bytes (16 words)	80 bytes (10 words)	48
 32	 76 bytes (19 words)	56 bytes (14 words)	8 (64 byte cacheline)
							72 (128 byte)

Remove the special statistics for numa and replace them with zoned vm
counters.  This has the side effect that global sums of these events now
show up in /proc/vmstat.

Also take the opportunity to move the zone_statistics() function from
page_alloc.c into vmstat.c.

Discussions:
V2 http://marc.theaimsgroup.com/?t=115048227000002&r=1&w=2

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Acked-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-30 11:25:36 -07:00
..
power [PATCH] core: use list_move() 2006-06-26 09:58:17 -07:00
Kconfig [PATCH] Driver Core: Add /sys/hypervisor when needed 2006-06-21 12:40:48 -07:00
Makefile [PATCH] Driver model: add ISA bus 2006-06-21 12:40:49 -07:00
attribute_container.c [PATCH] Driver Core: remove unused exports 2006-06-21 12:40:48 -07:00
base.h [PATCH] Driver core: change make_class_name() to take kobjects 2006-06-21 12:40:49 -07:00
bus.c [PATCH] Driver core: add generic "subsystem" link to all devices 2006-06-21 12:40:49 -07:00
class.c [PATCH] Driver core: add generic "subsystem" link to all devices 2006-06-21 12:40:49 -07:00
core.c [PATCH] Driver core: fix locking issues with the devices that are attached to classes 2006-06-22 22:54:30 -07:00
cpu.c [PATCH] sched: mc/smt power savings sched policy 2006-06-27 17:32:45 -07:00
dd.c
dmapool.c [PATCH] add poison.h and patch primary users 2006-06-27 17:32:38 -07:00
driver.c
firmware.c
firmware_class.c [PATCH] firmware_class: s/semaphores/mutexes 2006-06-21 12:40:49 -07:00
hypervisor.c [PATCH] Driver Core: Add /sys/hypervisor when needed 2006-06-21 12:40:48 -07:00
init.c [PATCH] Driver Core: Add /sys/hypervisor when needed 2006-06-21 12:40:48 -07:00
isa.c [PATCH] Driver model: add ISA bus 2006-06-21 12:40:49 -07:00
map.c
memory.c [PATCH] pgdat allocation for new node add (specify node id) 2006-06-27 17:32:35 -07:00
node.c [PATCH] Use Zoned VM Counters for NUMA statistics 2006-06-30 11:25:36 -07:00
platform.c [PATCH] Driver Core: Fix platform_device_add to use device_add 2006-06-21 12:40:48 -07:00
sys.c [PATCH] Driver Core: Allow sysdev_class have attributes 2006-06-21 12:40:48 -07:00
topology.c [PATCH] cpu hotplug: make cpu_notifier related notifier blocks __cpuinit only 2006-06-27 17:32:41 -07:00
transport_class.c