thp-consolidate-assert-checks-in-__split_huge_page.patch removed from -mm tree
Subsystems (2)
[email protected]
maintainerSubject: [merged] thp-consolidate-assert-checks-in-__split_huge_page.patch removed from -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Thu, 05 Jun 2014 12:49:15 -0700
The patch titled
Subject: thp: consolidate assert checks in __split_huge_page()
has been removed from the -mm tree. Its filename was
thp-consolidate-assert-checks-in-__split_huge_page.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: "Kirill A. Shutemov" <[email protected]>
Subject: thp: consolidate assert checks in __split_huge_page()
It doesn't make sense to have two assert checks for each invariant: one for printing and one for BUG().
Let's trigger BUG() if we print error message.
---
mm/huge_memory.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
mm/huge_memory.c renamed from mm/huge_memory.c~thp-consolidate-assert-checks-in-__split_huge_page +6 -4
@@ -1830,10 +1830,11 @@ static void __split_huge_page(struct pag* the newly established pmd of the child later during the * walk, to be able to set it as pmd_trans_splitting too. */ -if (mapcount !=page_mapcount (page)) +if (mapcount !=page_mapcount (page)) {printk (KERN_ERR "mapcount %d page_mapcount %d\n" , mapcount,page_mapcount (page)); -BUG_ON (mapcount !=page_mapcount (page)); +BUG (); + }__split_huge_page_refcount (page, list);
@@ -1844,10 +1845,11 @@ static void __split_huge_page(struct pagBUG_ON (is_vma_temporary_stack (vma)); mapcount2 +=__split_huge_page_map (page, vma, addr); } -if (mapcount != mapcount2) +if (mapcount != mapcount2) {printk (KERN_ERR "mapcount %d mapcount2 %d page_mapcount %d\n" , mapcount, mapcount2,page_mapcount (page)); -BUG_ON (mapcount != mapcount2); +BUG (); + } }/*
_
Patches currently in -mm which might be from [email protected] are
origin.patch
pagewalk-update-page-table-walker-core.patch pagewalk-update-page-table-walker-core-fix.patch pagewalk-add-walk_page_vma.patch smaps-redefine-callback-functions-for-page-table-walker.patch clear_refs-redefine-callback-functions-for-page-table-walker.patch pagemap-redefine-callback-functions-for-page-table-walker.patch numa_maps-redefine-callback-functions-for-page-table-walker.patch memcg-redefine-callback-functions-for-page-table-walker.patch arch-powerpc-mm-subpage-protc-use-walk_page_vma-instead-of-walk_page_range.patch pagewalk-remove-argument-hmask-from-hugetlb_entry.patch mempolicy-apply-page-table-walker-on-queue_pages_range.patch mm-introduce-do_shared_fault-and-drop-do_fault-fix-fix.patch mm-prom-pid-clear_refs-avoid-split_huge_page.patch do_shared_fault-check-that-mmap_sem-is-held.patch
linux-next.patch mm-mark-remap_file_pages-syscall-as-deprecated.patch mm-mark-remap_file_pages-syscall-as-deprecated-fix.patch mm-replace-remap_file_pages-syscall-with-emulation.patch mm-replace-remap_file_pages-syscall-with-emulation-fix.patch mm-replace-remap_file_pages-syscall-with-emulation-fix-2.patch mm-replace-remap_file_pages-syscall-with-emulation-fix-3.patch