On spin_lock_irq_save and disabling specific interrupts.

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

 



Hi,

 When I do spin_lock_irq it disables IRQ's which were enabled. What is
the reason for disabling all the irq's rather than disabling the
specific IRQ line which shares the resource? Wouldn't this be more
efficient and would not lose any interrupts especially if I have a
critical sensor ADC?

Thanks,
Gautam.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[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