Re: [PATCH] thp: avoid VM_BUG_ON page_count(page) false positives in __collapse_huge_page_copy
From: Rik van Riel <hidden>
Date: 2012-09-28 15:14:13
From: Rik van Riel <hidden>
Date: 2012-09-28 15:14:13
On 09/28/2012 08:35 AM, Andrea Arcangeli wrote:
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 <redacted>
Reviewed-by: Rik van Riel <redacted> -- All rights reversed -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>