Re: [PATCH v3 16/51] x86/32: put real return address on stack in entry code

From: Andy Lutomirski
Date: Sun Aug 14 2016 - 04:26:17 EST


On Fri, Aug 12, 2016 at 7:28 AM, Josh Poimboeuf <jpoimboe@xxxxxxxxxx> 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.