Re: [PATCH] x86, 64-bit: Set data segments to null after switchingto 64-bit mode

From: Tim Blechmann
Date: Sun Nov 29 2009 - 06:45:07 EST


On 11/25/2009 05:17 PM, Brian Gerst wrote:
> This prevents kernel threads from inheriting non-null segment selectors,
> and causing optimizations in __switch_to() to be ineffective.
>
> Signed-off-by: Brian Gerst <brgerst@xxxxxxxxx>

with this patch, the branch hint is actually correct, giving 100%
correct predictions. so please revert my earlier patch (commit
a3a1de0c34de6f5f8332cd6151c46af7813c0fcb)

thnx, tim

--
tim@xxxxxxxxxx
http://tim.klingt.org

Desperation is the raw material of drastic change. Only those who can
leave behind everything they have ever believed in can hope to escape.
William S. Burroughs

Attachment: signature.asc
Description: OpenPGP digital signature