Re: [PATCH v3] timer: implement lockdep deadlock detection

From: Peter Zijlstra
Date: Wed Jan 28 2009 - 05:13:27 EST


On Wed, 2009-01-28 at 10:54 +0100, Johannes Berg wrote:
> On Wed, 2009-01-28 at 09:20 +0100, Peter Zijlstra wrote:
> > On Tue, 2009-01-27 at 19:57 +0100, Johannes Berg wrote:
> > > This modifies the timer code in a way to allow lockdep to detect
> > > deadlocks resulting from a lock being taken in the timer function
> > > as well as around the del_timer_sync() call.
> > >
> > > Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
> >
> > Nice, thanks!
>
> I actually got "trying to register non-static key" on my powerpc64
> machine. Is there a possibility that functions are not static??

Hmm, weird, afaict static_obj() includes both text and data, for the
core kernel as well as modules.

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