Skip to contentSkip to conversation

mm-dump-page-when-hitting-a-vm_bug_on-using-vm_bug_on_page-fix.patch removed from -mm tree

folded-merged [email protected] 1 participant 1 message Jan 23, 2014 MM core

lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: [folded-merged] mm-dump-page-when-hitting-a-vm_bug_on-using-vm_bug_on_page-fix.patch removed from -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Thu, 23 Jan 2014 15:17:40 -0800

The patch titled
Subject: mm: dump page when hitting a VM_BUG_ON using VM_BUG_ON_PAGE fix
has been removed from the -mm tree. Its filename was
mm-dump-page-when-hitting-a-vm_bug_on-using-vm_bug_on_page-fix.patch

This patch was dropped because it was folded into mm-dump-page-when-hitting-a-vm_bug_on-using-vm_bug_on_page.patch

------------------------------------------------------
From: Sasha Levin <[email protected]>
Subject: mm: dump page when hitting a VM_BUG_ON using VM_BUG_ON_PAGE fix

I messed up and forgot to commit this fix before sending out the original patch.

It fixes build issues in various files using VM_BUG_ON_PAGE.

---

 include/linux/mmdebug.h |    1 +
 1 file changed, 1 insertion(+)
include/linux/mmdebug.h renamed from include/linux/mmdebug.h~mm-dump-page-when-hitting-a-vm_bug_on-using-vm_bug_on_page-fix +1 -0
diff -puN include/linux/mmdebug.h~mm-dump-page-when-hitting-a-vm_bug_on-using-vm_bug_on_page-fix include/linux/mmdebug.h
@@ -2,6 +2,7 @@
 #define LINUX_MM_DEBUG_H 1
 
 #ifdef CONFIG_DEBUG_VM
+extern void dump_page(struct page *page);
 #define VM_BUG_ON(cond) BUG_ON(cond)
 #define VM_BUG_ON_PAGE(cond, page) \
 	do { if (unlikely(cond)) { dump_page(page); BUG(); } } while(0)

_

Patches currently in -mm which might be from [email protected] are

origin.patch mm-munlock-fix-potential-race-with-thp-page-split.patch mm-dump-page-when-hitting-a-vm_bug_on-using-vm_bug_on_page.patch mm-dump-page-when-hitting-a-vm_bug_on-using-vm_bug_on_page-fix-fix.patch mm-new_vma_page-cannot-see-null-vma-for-hugetlb-pages.patch