The patch titled Subject: thp-increase-split_huge_page-success-rate-fix has been removed from the -mm tree. Its filename was thp-increase-split_huge_page-success-rate-fix.patch This patch was dropped because it was folded into thp-increase-split_huge_page-success-rate.patch ------------------------------------------------------ From: "Kirill A. Shutemov" <kirill@xxxxxxxxxxxxx> Subject: thp-increase-split_huge_page-success-rate-fix Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/huge_memory.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff -puN mm/huge_memory.c~thp-increase-split_huge_page-success-rate-fix mm/huge_memory.c --- a/mm/huge_memory.c~thp-increase-split_huge_page-success-rate-fix +++ a/mm/huge_memory.c @@ -3260,6 +3260,7 @@ int split_huge_page_to_list(struct page struct page *head = compound_head(page); struct anon_vma *anon_vma; int count, mapcount, ret; + bool mlocked; VM_BUG_ON_PAGE(is_huge_zero_page(page), page); VM_BUG_ON_PAGE(!PageAnon(page), page); @@ -3290,11 +3291,13 @@ int split_huge_page_to_list(struct page goto out_unlock; } + mlocked = PageMlocked(page); freeze_page(anon_vma, head); VM_BUG_ON_PAGE(compound_mapcount(head), head); /* Make sure the page is not on per-CPU pagevec as it takes pin */ - lru_add_drain(); + if (mlocked) + lru_add_drain(); /* Prevent deferred_split_scan() touching ->_count */ spin_lock(&split_queue_lock); _ Patches currently in -mm which might be from kirill@xxxxxxxxxxxxx are thp-increase-split_huge_page-success-rate.patch mm-add-page_check_address_transhuge-helper-fix-fix.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html