RE: Understanding Interrupts

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

 



 
->   Yes, the main purpose of disabling interrupts is to
->   avoid reentrancy of same interrupt handler and 
->   synchronization of shared data. Note that there is no 
->   need to protect code. Data needs protection.

  Note also that disabling interrupts is not a sufficient
  condition for synchronization. It is just a necessary one.
  To protect global data, some times, kernel uses proper
  locking (for example, spin locks etc).

Venkata.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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