• Andi Kleen's avatar
    [PATCH] x86-64: Always flush all pages in change_page_attr · 90767bd1
    Andi Kleen authored
    change_page_attr on x86-64 only flushed the TLB for pages that got
    reverted. That's not correct: it has to be flushed in all cases.
    
    This bug was added in some earlier changes.
    
    Just flush all pages for now.
    
    This could be done more efficiently, but for this late in the release
    this seem to be the best fix.
    
    Pointed out by Jan Beulich
    Signed-off-by: default avatarAndi Kleen <ak@suse.de>
    90767bd1
pageattr.c 5.83 KB