[PATCH] arm: fix lockdep warning of "unannotated irqs-off"

Ming Lei ming.lei at canonical.com
Wed Jun 1 21:32:51 EDT 2011


Hi Russell,

Thanks for your detailed explain.

On Wed, 1 Jun 2011 17:01:44 +0100
Russell King - ARM Linux <linux at arm.linux.org.uk> wrote:

> So, the way things are setup at the moment on ARM, we "optimize" the
> overhead of telling lockdep that IRQs are enabled while userspace is
> running away _provided_ we are not doing IRQs-off latency tracing.
> IOW, when CONFIG_IRQSOFF_TRACER is not set, we optimize away the
> trace_hardirq_on call when entering userspace, and the
> trace_hardirq_off call when leaving userspace.

Sorry, I did not notice this "optimization" before, and will
change the dependency and update the patch.

BTW, the patch also fixes for irq off tracer.


thanks,
--
Ming Lei



More information about the linux-arm-kernel mailing list