[PATCH] Fix a race between __page_cache_release() and shrink_cache()
__page_cache_release() needs to recheck the page count inside the LRU lock, because shrink_cache() may have found the page on the LRU and incremented its refcount again. Which is carefully documented over __pagevec_release(). Duh.
Showing
Please register or sign in to comment