Re: [PATCH] local_irq_disable removal

Daniel Walker
2005-06-11T16:19:24Z

On Sat, 11 Jun 2005, Ingo Molnar wrote:

>
> one way to make it safe/reviewable is to runtime warn if
> local_irq_disable() is called from a !preempt_count() section. But this
> will uncover quite some code. There's some code in the VM, in the
> buffer-cache, in the RCU code - etc. that uses per-CPU data structures
> and assumes non-preemptability of local_irq_disable().

Are you talking about make those section preemptible? Or a safety problem
in the current method.

Daniel