-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Jul 17, 2007 at 05:47:09PM +0530, Rajendra Stalekar wrote:
> From: Erik Mouw [mailto:[EMAIL PROTECTED] 
>> On Tue, Jul 17, 2007 at 05:26:44PM +0530, Rajendra Stalekar wrote:
>> > 1. Why is it not correct to install the interrupt handler during driver
>> > initialization and it's better to install it when we are actually opening
>> > the device. 
>> 
>> Because you would be servicing interrupts for an unused device. That
>> wastes:
>> - CPU time
>> - Memory resources
>> - Energy (important for laptop users)
> 
> Rajendra :- When we are not using the device itself(i.e. not opened the
> device) , what kind of interrupts can we get for that device?

Depends on the device and the driver. For a ethernet device you could
receive interrupts for broadcast packets, for example.


Erik

- -- 
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGnLcN/PlVHJtIto0RAoh1AJ9LbSsQ1bnX5hhddQEQCzFbvyFOFwCfR0EE
eE3ExwyDFSokztlgKjcRW+8=
=FFW1
-----END PGP SIGNATURE-----

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to