freebsd-dev/sys/i386
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 Fix typo in function name. 2002-01-10 03:26:46 +00:00
apm Remove __P. 2002-03-20 05:48:58 +00:00
bios Remove __P. 2002-03-20 05:48:58 +00:00
compile Don't need the .keep_me files. Obrien and I committed past each other. 2001-07-01 23:35:44 +00:00
conf First round at trying to split up NOTES into MI and MD portions. 2002-04-03 18:09:17 +00:00
i386 Embed a struct vmmeter in the per-cpu structure and add a macro, 2002-04-04 21:38:47 +00:00
ibcs2 Moved signal handling and rescheduling from userret() to ast() so that 2002-04-04 17:49:48 +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
linux Moved signal handling and rescheduling from userret() to ast() so that 2002-04-04 17:49:48 +00:00
pci Major rework of the iicbus/smbus framework: 2002-03-23 15:49:15 +00:00
svr4 Moved signal handling and rescheduling from userret() to ast() so that 2002-04-04 17:49:48 +00:00
Makefile Update pathnames for creation of tags file. 2001-12-05 01:23:21 +00:00