Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Nov 2003 16:39:36 +0200
From:      Peter Pentchev <roam@ringlet.net>
To:        Dag-Erling Sm?rgrav <des@des.no>
Cc:        Mike Tancsa <mike@sentex.net>
Subject:   Re: interrupt statistics
Message-ID:  <20031121143936.GV300@straylight.m.ringlet.net>
In-Reply-To: <xzpptfmgej9.fsf@dwp.des.no>
References:  <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> <xzpptfmgej9.fsf@dwp.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help

--rUztinBX/EQDJOOk
Content-Type: text/plain; charset=windows-1251
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Nov 21, 2003 at 12:13:46PM +0100, Dag-Erling Sm?rgrav wrote:
> 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.
>=20
> I know; I'm working on it, and am more than half done.
>=20
> > 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.
>=20
> VMSTAT_SYSCTL is a mistake; vmstat must decide at runtime whether to
> use sysctl (live system) or libkvm (postmortem).

Oh; right.  Sorry.  Should have picked that up from your last message
about the postmortem analysis.

By the way, the '???' comes directly from i386/isa/mp_machdep.c, the
update_intrname() routine; looks like there has never been a device
driver or anything that has claimed interrupt 0 :)

G'luck,
Peter

--=20
Peter Pentchev	roam@ringlet.net    roam@sbnd.net    roam@FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
If there were no counterfactuals, this sentence would not have been paradox=
ical.

--rUztinBX/EQDJOOk
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/viOo7Ri2jRYZRVMRAif3AKC5hdTQbc6gjWjyexy+G5vtrPRvygCePW6L
JAGCgVO3QkUI1uGbcG2+leY=
=A1YA
-----END PGP SIGNATURE-----

--rUztinBX/EQDJOOk--



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