Date: Fri, 23 Feb 2001 10:46:22 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys conf.h src/sys/vm swap_pager.c vm_swap.c Message-ID: <200102231846.f1NIkMi44497@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2001/02/23 10:46:22 PST
Modified files:
sys/sys conf.h
sys/vm swap_pager.c vm_swap.c
Log:
Introduce per-swap area accounting in the VM system, and export
this information via the vm.nswapdev sysctl (number of swap areas)
and vm.swapdevX nodes (where X is the device), which contain the MIBs
dev, blocks, used, and flags. These changes are required to allow
top and other userland swap-monitoring utilities to run without
setgid kmem.
Submitted by: Thomas Moestl <tmoestl@gmx.net>
Reviewed by: freebsd-audit
Revision Changes Path
1.124 +2 -1 src/sys/sys/conf.h
1.151 +11 -2 src/sys/vm/swap_pager.c
1.107 +33 -3 src/sys/vm/vm_swap.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102231846.f1NIkMi44497>
