interrupt statistics
Dag-ErlingSmørgrav
des at des.no
Fri Nov 21 03:13:57 PST 2003
Peter Pentchev <roam at ringlet.net> writes:
> I was thinking about the setgid bit too, but it can only be removed when
> all of vmstat's functionality, not just dointr(), is converted to use
> sysctl.
I know; I'm working on it, and am more than half done.
> Still, here's the updated patch I was speaking of, just to show you what
> I meant about the !VMSTAT_SYSCTL buglet and it being less intrusive;
> kvm_openfiles() was not invoked even in the !VMSTAT_SYSCTL case, meaning
> dointr() wouldn't work at all then.
VMSTAT_SYSCTL is a mistake; vmstat must decide at runtime whether to
use sysctl (live system) or libkvm (postmortem).
DES
--
Dag-Erling Smørgrav - des at des.no
More information about the freebsd-hackers
mailing list