Re: [tip:x86/asm] x86/i386: Make sure stack-protector segment base is cache aligned

Jeremy Fitzhardinge
2009-09-04T16:57:30Z

On 09/04/09 09:52, H. Peter Anvin wrote:
> On 09/04/2009 09:01 AM, Jeremy Fitzhardinge wrote:
>
>>>>
>>>>
>>> It's correct that it doesn't make any difference for access, only for load.
>>>
>>>
>> Well, to be completely precise, restore. When returning to usermode,
>> the "pop %seg" is slightly faster if you're restoring a null selector,
>> which is typically the case for %fs as 32-bit usermode doesn't use it.
>>
>>
> That's a segment load...

Yeah, OK.

J