Re: [bug] SLUB & freeing locks [was: Re: 2.6.23-rc1: knownregressions with patches]

From: Ingo Molnar
Date: Thu Jul 26 2007 - 06:50:31 EST



* Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> On Thu, 2007-07-26 at 11:26 +0200, Peter Zijlstra wrote:
> > On Thu, 2007-07-26 at 11:10 +0200, Ingo Molnar wrote:
> > > there's a new regression:
> > >
> > > SLUB does not seem to call debug_check_no_locks_freed() - hence on SLUB
> > > we will not notice certain types of freeing races. (such as freeing an
> > > object still locked and used on another CPU.) SLAB does this corretly.
>
> Oh, nm, it doesn't call debug_check_no_locks_freed() at all.
>
> This should do I guess.
>
> Signed-off-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>

yeah.

Acked-by: Ingo Molnar <mingo@xxxxxxx>

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/