On 1/25/06, Sanjay Acharya <sacharya@xxxxxxxxxxxxx> wrote: > What is the significance of the code WARN_ON(irqs_disabled()) code in > the function local_bh_enable()? Why is this check done? this makes sure that while enabling the softirqs (normally done at the end of handling of softirqs), interrupts should not be disabled. If they are disabled because of any reason (sofirq might have done that), its an abnormal condition and kernel will dump the stack at this point. -Gaurav > > Sanjay > > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/