• Andrew Morton's avatar
    [PATCH] Fix YA bug in __page_cache_release · 60bfa4f3
    Andrew Morton authored
    __page_cache_release() needs to check PG_lru inside the lock, because
    page reclaim may have taken the page off the LRU while this CPU waits
    on the lock.
    
    That's three bugs in a single twenty-line function.  So far.
    60bfa4f3
swap.c 5.66 KB