Re: WARNING: at mm/slub.c:3357, kernel BUG at mm/slub.c:3413

From: Christoph Lameter
Date: Tue Nov 22 2011 - 10:02:32 EST


On Tue, 22 Nov 2011, Eric Dumazet wrote:

> Le mardi 22 novembre 2011 Ã 08:46 -0600, Christoph Lameter a Ãcrit :
> > On Tue, 22 Nov 2011, Eric Dumazet wrote:
> >
> > > I trigger a bug in less than 10 secondes, with this running while a
> > > "make -j16 " kernel build is run.
> > >
> > > while :; do slabinfo -v; done
> >
> > Hmm.... Yeah there was limited testing on the debug features. There could
> > be something amiss there. Need to review the validation interactions with
> > the new code.
> >
> >
>
> Hmm... yes, we probably should take a look.

Allright there is an obvious issue if debugging is off since the lockless
paths do not take the page lock in that case but the validation logic
does. Did you run the test with debugging on or off?

Not sure what the solution is but the simplest would be to disable
validation if lockless is active.