[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160815150941.nilwkrkszj5mm5ka@treble>
Date: Mon, 15 Aug 2016 10:09:41 -0500
From: Josh Poimboeuf <jpoimboe@...hat.com>
To: Andy Lutomirski <luto@...capital.net>
Cc: Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...nel.org>,
"H . Peter Anvin" <hpa@...or.com>, X86 ML <x86@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Steven Rostedt <rostedt@...dmis.org>,
Brian Gerst <brgerst@...il.com>,
Kees Cook <keescook@...omium.org>,
Peter Zijlstra <peterz@...radead.org>,
Frederic Weisbecker <fweisbec@...il.com>,
Byungchul Park <byungchul.park@....com>,
Nilay Vaish <nilayvaish@...il.com>
Subject: Re: [PATCH v3 16/51] x86/32: put real return address on stack in
entry code
On Sun, Aug 14, 2016 at 12:31:47AM -0700, Andy Lutomirski wrote:
> On Fri, Aug 12, 2016 at 7:28 AM, Josh Poimboeuf <jpoimboe@...hat.com> wrote:
> > This standardizes the stacks of idle tasks to be consistent with other
> > tasks on 32-bit.
>
> It might be nice to stick a ud2 or 1: hlt; jmp 1b or similar
> afterwards to make it clear that initial_code can't return.
Yeah, I'll do something like that.
--
Josh
Powered by blists - more mailing lists