-> 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/