From owner-freebsd-alpha Fri Nov 27 13:14:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA25169 for freebsd-alpha-outgoing; Fri, 27 Nov 1998 13:14:51 -0800 (PST) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA25162 for ; Fri, 27 Nov 1998 13:14:48 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id VAA18441; Fri, 27 Nov 1998 21:17:32 GMT Date: Fri, 27 Nov 1998 21:17:32 +0000 (GMT) From: Doug Rabson To: Dima Ruban cc: Hidetoshi Shimokawa , freebsd-alpha@FreeBSD.ORG Subject: Re: vmstat -i In-Reply-To: <199811271736.JAA00541@burka.rdy.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 27 Nov 1998, Dima Ruban wrote: > 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). -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message