Re: [patch] lockdep: fix possible races while disabling lock-debugging
From: Ingo Molnar
Date: Mon Dec 11 2006 - 02:25:04 EST
* Jarek Poplawski <jarkao2@xxxxx> wrote:
> > @@ -567,12 +601,10 @@ static noinline int print_circular_bug_t
> > if (debug_locks_silent)
> > return 0;
> >
> > - /* hash_lock unlocked by the header */
> > - __raw_spin_lock(&hash_lock);
> > this.class = check_source->class;
> > if (!save_trace(&this.trace))
> > return 0;
> > - __raw_spin_unlock(&hash_lock);
> > +
>
> IMHO lock is needed here for save_trace.
indeed. I'll do a fix for this.
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/