• Andi Kleen's avatar
    x86: change_page_attr bandaids · 018d2ad0
    Andi Kleen authored
    - Disable CLFLUSH again; it is still broken. Always do WBINVD.
    - Always flush in the i386 case, not only when there are deferred pages.
    
    These are both brute-force inefficient fixes, to be improved
    next release cycle.
    
    The changes to i386 are a little more extensive than strictly
    needed (some dead code added), but it is more similar to the x86-64 version
    now and the dead code will be used soon.
    Signed-off-by: default avatarAndi Kleen <ak@suse.de>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    018d2ad0
pageattr.c 6.47 KB