Subject: Re: interrupt sharing improves performance?
To: None <tech-perform@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: tech-perform
Date: 02/03/2003 23:15:51
On Mon, Feb 03, 2003 at 02:47:20PM -0800, Jason R Thorpe wrote:
> On Mon, Feb 03, 2003 at 10:48:37PM +0000, David Laight wrote:
> 
>  > That cycle is a waste of time, you might as well look to see if
>  > there is an rx data (etc), the driver will have to look there as well.
>  > For ring based drivers the ring structure itself can be polled.
>  > This will be much cheaper than an access to the chip.
> 
> Yah, exactly.

The worst one I've seen was a pcmcia driver that insisted on checking
the config space register.  Accesses to that make ISA bus cycles
seem fast :-)

	David

-- 
David Laight: david@l8s.co.uk