From owner-freebsd-alpha Fri Nov 27 14:55:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA04073 for freebsd-alpha-outgoing; Fri, 27 Nov 1998 14:55:04 -0800 (PST) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from smtp02.primenet.com (smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA04068 for ; Fri, 27 Nov 1998 14:55:01 -0800 (PST) (envelope-from tlambert@usr02.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.8.8/8.8.8) id PAA15978; Fri, 27 Nov 1998 15:54:53 -0700 (MST) Received: from usr02.primenet.com(206.165.6.202) via SMTP by smtp02.primenet.com, id smtpd015961; Fri Nov 27 15:54:46 1998 Received: (from tlambert@localhost) by usr02.primenet.com (8.8.5/8.8.5) id PAA22214; Fri, 27 Nov 1998 15:54:35 -0700 (MST) From: Terry Lambert Message-Id: <199811272254.PAA22214@usr02.primenet.com> Subject: Re: vmstat -i To: dfr@nlsystems.com (Doug Rabson) Date: Fri, 27 Nov 1998 22:54:35 +0000 (GMT) Cc: dima@best.net, simokawa@sat.t.u-tokyo.ac.jp, freebsd-alpha@FreeBSD.ORG In-Reply-To: from "Doug Rabson" at Nov 27, 98 09:17:32 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Well, the actuall question is - do we want to adopt netbsd's method > > of tracking interrupts (bogus) or we want to come up with something > > decent on our own. > > I'm not too keen on this interrupt counting mechanism but it is at least > simple. I would probably pass the address of a struct evcnt to > alpha_setup_intr() instead of wrapping the handler with pci_handle_intr(). > The generic code would handle incrementing the counter. > > I don't have a lot of enthusiasm for developing an alternative so unless > anyone else is going to step up and write something cool, I will take this > patch (and tweak alpha_setup_intr() to simplify it). I would prefer that someone fix the NetBSD version and submit it back to NetBSD, get it adopted, and then bring it into FreeBSD. It would better keep the platforms in sync than the "NIH" method. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message