]> Pileus Git - ~andy/linux/blobdiff - mm/compaction.c
mm: dump page when hitting a VM_BUG_ON using VM_BUG_ON_PAGE
[~andy/linux] / mm / compaction.c
index 3a91a2ea3d343d5bb22fdc1a5e67660a133de5e0..e0ab02d70f13434059d1f05442285e0773189a1c 100644 (file)
@@ -601,7 +601,7 @@ isolate_migratepages_range(struct zone *zone, struct compact_control *cc,
                if (__isolate_lru_page(page, mode) != 0)
                        continue;
 
-               VM_BUG_ON(PageTransCompound(page));
+               VM_BUG_ON_PAGE(PageTransCompound(page), page);
 
                /* Successfully isolated */
                cc->finished_update_migrate = true;