On Mon, Apr 06, 2015 at 08:13:19AM +0000, Naoya Horiguchi wrote: > With page flag sanitization patchset, an invalid usage of ClearPageSwapCache() > is detected in migration_page_copy(). > migrate_page_copy() is shared by both normal and hugepage (both thp and hugetlb) > code path, so let's check PageSwapCache() and clear it if it's set to avoid > misuse of the invalid clear operation. > > Signed-off-by: Naoya Horiguchi <n-horiguchi@xxxxxxxxxxxxx> Acked-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx> -- Kirill A. Shutemov -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>