Re: [PATCH 5/8] x86/head: remove useless zeroed word

From: H. Peter Anvin
Date: Mon Aug 22 2016 - 18:25:46 EST


On August 22, 2016 2:48:46 PM PDT, Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:
>Josh Poimboeuf <jpoimboe@xxxxxxxxxx> writes:
>
>> This zeroed word has no apparent purpose, so remove it.
>>
>> Brian Gerst says:
>>
>> "FYI the word used to be the SS segment selector for the LSS
>> instruction, which isn't needed in 64-bit mode."
>>
>
>Seems dangerous. It wouldn't surprise me if some CPUs or x86 emulations
>load it anyways and trigger page faults if there is really nothing
>there.
>
>-Andi

Yes, seems pointlessly risky.
--
Sent from my Android device with K-9 Mail. Please excuse brevity and formatting.