freebsd-skq/sys/amd64
Matthew Dillon 80f5c8bf42 Embed a struct vmmeter in the per-cpu structure and add a macro,
PCPU_LAZY_INC() which increments elements in it for cases where we
can afford the occassional inaccuracy.  Use of per-cpu stats counters
avoids significant cache stalls in various critical paths that would
otherwise severely limit our cpu scaleability.

Adjust all sysctl's accessing cnt.* elements to now use a procedure
which aggregates the requested field for all cpus and for the global
vmmeter.

The global vmmeter is retained, since some stats counters, like v_free_min,
cannot be made per-cpu.  Also, this allows us to convert counters from
the global vmmeter to the per-cpu vmmeter in a piecemeal fashion, so
have at it!
2002-04-04 21:38:47 +00:00
..
acpica
amd64 Embed a struct vmmeter in the per-cpu structure and add a macro, 2002-04-04 21:38:47 +00:00
conf First round at trying to split up NOTES into MI and MD portions. 2002-04-03 18:09:17 +00:00
include Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
isa Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
pci Major rework of the iicbus/smbus framework: 2002-03-23 15:49:15 +00:00
Makefile