Re: Doubt on Interrupt sharing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

On Tue, Jul 17, 2007 at 05:47:09PM +0530, Rajendra Stalekar wrote:
> From: Erik Mouw [mailto:mouw@xxxxxxxxxxxx] 
>> 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 ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux