Re: [patch 0/4] DEBUG_RCU_HEAD: Debug and fix racy call_rcu() users

From: Ingo Molnar
Date: Mon Oct 12 2009 - 14:39:27 EST



* Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx> wrote:

> * Ingo Molnar (mingo@xxxxxxx) wrote:
> >
> > * Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx> wrote:
> >
> > > Here is a patchset, done on 2.6.30.9, which permits to detect and fix
> > > racy call_rcu() users.
> >
> > Nice idea - but any reason why this isnt using the debugojects
> > framework? That debugging framework is upstream already and allows this
> > kind of object lifetime debugging - in a much broader way.
> >
>
> Other than: it did not occur to me, no, there is no reason for not using
> debugobjects there. :-)
>
> As long as we can tag the object as
> - initialized
> - active
> - inactive
>
> And dump a nice fat warning when the object is activated twice, that
> should suffice. Now time is a bit short on my side, but I'll keep in
> mind to respin a version on top of debugobjects soon.

ok, thanks.

Commit to check would be:

237fc6e: add hrtimer specific debugobjects code
c6f3a97: debugobjects: add timer specific object debugging code

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/