Re: [patch, -rc5-mm1] lock validator: disable NMI watchdog if CONFIG_LOCKDEP, i386

From: Ingo Molnar
Date: Tue May 30 2006 - 16:03:56 EST



* Ingo Molnar <mingo@xxxxxxx> wrote:

> yeah, totally agreed, they need to be raw notifiers. Havent had time
> to investigate it in detail yet - i went for the easier hack of
> disabling NMIs while lockdep is enabled.

hm ... atomic_notifier_call_chain ought to be fine - it uses
rcu_read_lock(), which uses preempt_disable(), which is NMI-safe.

so i think this NMI problem might be lockdep-specific. I think it might
be the NMI iret that confuses lockdep. (and irqflags-trace in
particular)

Ingo
-
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/