• Andrew Morton's avatar
    [PATCH] Use mark_page_accessed() in follow_page() · a6bc080d
    Andrew Morton authored
    Touching a page via follow_page() counts as a reference so we should be
    either setting the referenced bit in the pte or running mark_page_accessed().
    
    Altering the pte is tricky because we haven't implemented an atomic
    pte_mkyoung().  And mark_page_accessed() is better anyway because it has more
    aging state: it can move the page onto the active list.
    a6bc080d
memory.c 43.1 KB