Please sign in to comment.
thp: avoid VM_BUG_ON page_count(page) false positives in __collapse_h…
…uge_page_copy Speculative cache pagecache lookups can elevate the refcount from under us, so avoid the false positive. If the refcount is < 2 we'll be notified by a VM_BUG_ON in put_page_testzero as there are two put_page(src_page) in a row before returning from this function. Signed-off-by: Andrea Arcangeli <email@example.com> Reviewed-by: Rik van Riel <firstname.lastname@example.org> Reviewed-by: Johannes Weiner <email@example.com> Cc: Hugh Dickins <firstname.lastname@example.org> Cc: Mel Gorman <email@example.com> Cc: Petr Holasek <firstname.lastname@example.org> Cc: Andrew Morton <email@example.com> Signed-off-by: Linus Torvalds <firstname.lastname@example.org>
- Loading branch information...