From owner-freebsd-hackers@FreeBSD.ORG Fri Nov 21 06:39:47 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0307C16A4CF for ; Fri, 21 Nov 2003 06:39:47 -0800 (PST) Received: from gandalf.online.bg (gandalf.online.bg [217.75.128.9]) by mx1.FreeBSD.org (Postfix) with SMTP id 7556843FE5 for ; Fri, 21 Nov 2003 06:39:43 -0800 (PST) (envelope-from roam@ringlet.net) Received: (qmail 21703 invoked from network); 21 Nov 2003 14:38:09 -0000 Received: from office.sbnd.net (HELO straylight.ringlet.net) (217.75.140.130) by gandalf.online.bg with SMTP; 21 Nov 2003 14:38:09 -0000 Received: (qmail 68526 invoked by uid 1000); 21 Nov 2003 14:39:36 -0000 Date: Fri, 21 Nov 2003 16:39:36 +0200 From: Peter Pentchev To: Dag-Erling Sm?rgrav Message-ID: <20031121143936.GV300@straylight.m.ringlet.net> Mail-Followup-To: Dag-Erling Sm?rgrav , Mike Tancsa , hackers@freebsd.org References: <20031120044945.GA44933@falcon.midgard.homeip.net> <20031120131903.GG300@straylight.m.ringlet.net> <20031120153655.GI300@straylight.m.ringlet.net> <20031121085300.GP300@straylight.m.ringlet.net> <20031121092406.GR300@straylight.m.ringlet.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rUztinBX/EQDJOOk" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.5.1i cc: hackers@freebsd.org cc: Mike Tancsa Subject: Re: interrupt statistics X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 14:39:47 -0000 --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 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--