Re: [Bug 10489] Kprobe smoke test lockdep warning
From: Masami Hiramatsu
Date: Tue Apr 22 2008 - 15:53:27 EST
Masami Hiramatsu wrote:
> processor's IF bit is changed when an iret(q) is issued.
> In other words, when returning from a debug/int3 exception.
By the way, when returning from an exception on x86-64, it seems
paranoidexit@xxxxxxxxxx doesn't use TRACE_IRQS_IRETQ except for
it executes swapgs, does it?
If not, I guess the lockdep on x86-64 may causes an warning
by below code:
spin_lock(...)
kprobe_target_function()
spin_unlock(...)
Thanks,
--
Masami Hiramatsu
Software Engineer
Hitachi Computer Products (America) Inc.
Software Solutions Division
e-mail: mhiramat@xxxxxxxxxx
--
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/