Avoid VLA in pgd_alloc kills boot on 32-bit machines was Re: -next20181010,1011 regression: thinkpad x60 (32 bit) dies during boot.

From: Pavel Machek
Date: Fri Oct 12 2018 - 14:10:18 EST


Hi!

> > > So what came in between -next20181005 and the first bad one? kernel/sched/*
> > > being the first place to look at.
> >
> > kernel/sched does not seem to contain anything too scary.
> >
> > I know that -next20181005 works ok, and I know -next20181010 is
> > bad. Is there easy way to bisect using that information? I can do
> > bisect between -next and mainline, but that's a lot of patches and
> > thus not much fun :-(.
> >
> > In the meantime, I reproduced the failure with T40p. Is there someone
> > with working x86-32 in -next?
>
> Does latest -tip fail too? If yes then I suspect bisection would be needed.

And the winner is...

[1be3f247c2882a82279cbcf43717581ea943b692] x86/mm: Avoid VLA in
pgd_alloc()

"Kernel stack is corrupted in: pgd_alloc" panic kind of suggests this
is right commit.


--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature