Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Nov 2003 12:13:46 +0100
From:      des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=)
To:        Mike Tancsa <mike@sentex.net>
Cc:        hackers@freebsd.org
Subject:   Re: interrupt statistics
Message-ID:  <xzpptfmgej9.fsf@dwp.des.no>
In-Reply-To: <20031121092406.GR300@straylight.m.ringlet.net> (Peter Pentchev's message of "Fri, 21 Nov 2003 11:24:06 %2B0200")
References:  <xzpy8ucpwz9.fsf@dwp.des.no> <jfforv4me3snqshljprg8jejht7ias0oih@4ax.com> <20031120044945.GA44933@falcon.midgard.homeip.net> <20031120131903.GG300@straylight.m.ringlet.net> <xzpznerjg2s.fsf@dwp.des.no> <20031120153655.GI300@straylight.m.ringlet.net> <xzpekw2jho0.fsf@dwp.des.no> <xzpad6qjh3z.fsf@dwp.des.no> <20031121085300.GP300@straylight.m.ringlet.net> <xzp65heje0n.fsf@dwp.des.no> <20031121092406.GR300@straylight.m.ringlet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Pentchev <roam@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
--=20
Dag-Erling Sm=F8rgrav - des@des.no



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