Hi,

> What is effect of calling local_irq_disable and local_irq_enable from
> an interrupt context? 

Just what the name says. It disables / enables the interrupts on the
local processor. Please note that you should not enable interrupts in an
atomic context (For. E.g. while holding a spinlock) - as that may lead
to a deadlock. 

> 
> Does local_irq_disable disable preemption implicitly?

Yes.

Thanks,

Rajat

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to