Re: [PATCH] local_irq_disable removal

From: Daniel Walker
Date: Sat Jun 11 2005 - 11:21:11 EST




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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/