Re: SLOB lockup (was: Re: [tip:core/locking] lockdep: annotatereclaim context (__GFP_NOFS), fix SLOB)

From: Ingo Molnar
Date: Sun Mar 15 2009 - 05:47:50 EST



* Nick Piggin <nickpiggin@xxxxxxxxxxxx> wrote:

> On Sunday 15 March 2009 17:48:18 Ingo Molnar wrote:
>
> > > Cc: Nick Piggin <npiggin@xxxxxxx>
> > > Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
> > > LKML-Reference: <20090128135457.350751756@xxxxxxxxx>
> > > Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
> >
> > and with this fixed, and with SLOB now being tested in -tip, the
> > new lockdep assert attached below (followed by a real lockup)
> > pops up.
> >
> > Seems like a genuine SLOB bug, probably present upstream as
> > well.
>
> Hmmf. debugobjects calls back into the slab allocator from the
> page allocator. The following patch would improve SLOB, but I
> think it would be a good idea to avoid a dependency in that
> direction. Can debugobjects defer this freeing?

dunno - that's a question for Thomas.

this lockup does not trigger under any of the other allocators.

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/