Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Feb 2001 13:49:09 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        Robert Watson <rwatson@FreeBSD.org>
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 
Message-ID:  <200102232149.f1NLn9K00822@mass.dis.org>
In-Reply-To: Your message of "Fri, 23 Feb 2001 10:46:22 PST." <200102231846.f1NIkMi44497@freefall.freebsd.org> 

next in thread | previous 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.

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102232149.f1NLn9K00822>