• Andi Kleen's avatar
    [PATCH] Fix pageattr with mem=nopentium · 4d59f610
    Andi Kleen authored
    This fixes a hang in change_page_attr() that occured with mem=nopentium.
    
    Make sure a non large page kernel mapping is handled correctly.
    Previously the page reference counter was handled incorrectly in this
    case.
    
    Also hardens change_page_attr against bogus addresses.  You get an
    EINVAL now.
    4d59f610
pageattr.c 5.07 KB