public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Ingo Molnar <mingo@kernel.org>,
	arnd@arndb.de, akpm@linux-foundation.org, luto@kernel.org,
	dave.hansen@linux.intel.com, jroedel@suse.de,
	keescook@chromium.org, torvalds@linux-foundation.org,
	toshi.kani@hpe.com
Cc: Thomas Gleixner <tglx@linutronix.de>,
	sfr@canb.auug.org.au, kernel list <linux-kernel@vger.kernel.org>,
	mingo@redhat.com, bp@alien8.de, hpa@zytor.com, x86@kernel.org
Subject: Avoid VLA in pgd_alloc kills boot on 32-bit machines was Re: -next20181010,1011 regression: thinkpad x60 (32 bit) dies during boot.
Date: Fri, 12 Oct 2018 20:10:11 +0200	[thread overview]
Message-ID: <20181012181011.GA9098@amd> (raw)
In-Reply-To: <20181012105254.GA114888@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 983 bytes --]

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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

  parent reply	other threads:[~2018-10-12 18:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-10 19:59 -next20181010 regression: thinkpad x60 (32 bit) dies during boot Pavel Machek
2018-10-10 20:03 ` Pavel Machek
2018-10-11 18:03   ` -next20181010,1011 " Pavel Machek
2018-10-11 20:09     ` Thomas Gleixner
2018-10-12 10:24       ` Pavel Machek
2018-10-12 10:52         ` Ingo Molnar
2018-10-12 12:35           ` Pavel Machek
2018-10-12 18:10           ` Pavel Machek [this message]
2018-10-12 18:13             ` Avoid VLA in pgd_alloc kills boot on 32-bit machines was " Borislav Petkov
2018-10-12 18:57               ` Pavel Machek
2018-10-12 18:22             ` Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181012181011.GA9098@amd \
    --to=pavel@ucw.cz \
    --cc=akpm@linux-foundation.org \
    --cc=arnd@arndb.de \
    --cc=bp@alien8.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=jroedel@suse.de \
    --cc=keescook@chromium.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@kernel.org \
    --cc=mingo@kernel.org \
    --cc=mingo@redhat.com \
    --cc=sfr@canb.auug.org.au \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.org \
    --cc=toshi.kani@hpe.com \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox