From owner-cvs-all Fri Feb 23 10:46:25 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5676937B401; Fri, 23 Feb 2001 10:46:22 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: (from rwatson@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1NIkMi44497; Fri, 23 Feb 2001 10:46:22 -0800 (PST) (envelope-from rwatson) Message-Id: <200102231846.f1NIkMi44497@freefall.freebsd.org> From: Robert Watson Date: Fri, 23 Feb 2001 10:46:22 -0800 (PST) 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 X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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