• Andi Kleen's avatar
    [PATCH] x86: Remove noreplacement option · 9ce883be
    Andi Kleen authored
    noreplacement is dangerous on modern systems because it will not replace the
    context switch FNSAVE with SSE aware FXSAVE. But other places in the kernel still assume
    SSE and do FXSAVE and the CPU will then access FXSAVE information with
    FNSAVE and cause corruption.
    
    Easiest way to avoid this is to remove the option. It was mostly for paranoia
    reasons anyways and alternative()s have been stable for some time.
    
    Thanks to Jeremy F. for reporting and helping debug it.
    Signed-off-by: default avatarAndi Kleen <ak@suse.de>
    9ce883be
alternative.c 10.2 KB