Subject: Re: i386 interrupt counters
To: Michael Graff <firstname.lastname@example.org>
From: Chris G Demetriou <Chris_G_Demetriou@ux2.sp.cs.cmu.edu>
Date: 08/12/1996 16:50:34
> Chris G Demetriou <Chris_G_Demetriou@ux2.sp.cs.cmu.edu> writes:
> > That's not unreasonable. However, it has a couple of drawbacks:
> > (1) If a good interrupt counting mechanism existed, this would
> > not be necessary.
> > (2) It screws up the totals.
> > Any scheme which doesn't bother to take hierarchy into account will do
> > (2)...
> Would it be possible to, somehow, build a hierachy by calling the event
> attach routine with some handle to the parent's counter?
> That would solve most of this, since the bus interrupt attach code could
> return a pointer to its counter and when a card probes and attaches children
> they can also be given a pointer.
Well, that would at least solve part of it...
You then need to kee ptrack of that hierarchy, you'd need to deal with
the fact that current counters can have exactly one name for a given
It's certainly not impossible, and indeed has been more or less what
i've been suggesting a "a good scheme," but i've not got the time to
even _think_ about the work involved.