From owner-cvs-all Fri Feb 23 13:47:27 2001 Delivered-To: cvs-all@freebsd.org Received: from mass.dis.org (user-uinjtfm.biz.mindspring.com [165.121.245.246]) by hub.freebsd.org (Postfix) with ESMTP id 2DD7C37B4EC; Fri, 23 Feb 2001 13:47:18 -0800 (PST) (envelope-from msmith@mass.dis.org) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.1/8.11.1) with ESMTP id f1NLn9K00822; Fri, 23 Feb 2001 13:49:09 -0800 (PST) (envelope-from msmith@mass.dis.org) Message-Id: <200102232149.f1NLn9K00822@mass.dis.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: Robert Watson Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys conf.h src/sys/vm swap_pager.c vm_swap.c In-reply-to: Your message of "Fri, 23 Feb 2001 10:46:22 PST." <200102231846.f1NIkMi44497@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 23 Feb 2001 13:49:09 -0800 From: Mike Smith 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. JFYI, convention for implementing this sort of thing is to have a node "vm.swapdev_acct" and then pass it an extra OID value which is the index. -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message