The quilt patch titled Subject: mm-thp-split-huge-page-to-any-lower-order-pages-fix has been removed from the -mm tree. Its filename was mm-thp-split-huge-page-to-any-lower-order-pages-fix.patch This patch was dropped because it was folded into mm-thp-split-huge-page-to-any-lower-order-pages.patch ------------------------------------------------------ From: Zi Yan <ziy@xxxxxxxxxx> Subject: mm-thp-split-huge-page-to-any-lower-order-pages-fix Date: Wed, 28 Feb 2024 10:52:23 -0500 fixup per discussion with Ryan at https://lore.kernel.org/linux-mm/408df79a-130e-43cd-a21a-9b3a2ddef617 Link: https://lkml.kernel.org/r/494F48CD-1F0F-4CAD-884E-6D48F40AF990@xxxxxxxxxx Signed-off-by: Zi Yan <ziy@xxxxxxxxxx> Cc: David Hildenbrand <david@xxxxxxxxxx> Cc: Hugh Dickins <hughd@xxxxxxxxxx> Cc: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx> Cc: Luis Chamberlain <mcgrof@xxxxxxxxxx> Cc: "Matthew Wilcox (Oracle)" <willy@xxxxxxxxxxxxx> Cc: Michal Koutny <mkoutny@xxxxxxxx> Cc: Roman Gushchin <roman.gushchin@xxxxxxxxx> Cc: Ryan Roberts <ryan.roberts@xxxxxxx> Cc: Yang Shi <shy828301@xxxxxxxxx> Cc: Yu Zhao <yuzhao@xxxxxxxxxx> Cc: Zach O'Keefe <zokeefe@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/huge_memory.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) --- a/mm/huge_memory.c~mm-thp-split-huge-page-to-any-lower-order-pages-fix +++ a/mm/huge_memory.c @@ -3059,11 +3059,8 @@ int split_huge_page_to_list_to_order(str if (new_order) { /* Only swapping a whole PMD-mapped folio is supported */ - if (folio_test_swapcache(folio)) { - VM_WARN_ONCE(1, - "Cannot split swap-cached folio to non-0 order"); + if (folio_test_swapcache(folio)) return -EINVAL; - } /* Split shmem folio to non-zero order not supported */ if (shmem_mapping(folio->mapping)) { VM_WARN_ONCE(1, _ Patches currently in -mm which might be from ziy@xxxxxxxxxx are mm-huge_memory-only-split-pmd-mapping-when-necessary-in-unmap_folio.patch mm-memcg-use-order-instead-of-nr-in-split_page_memcg.patch mm-page_owner-use-order-instead-of-nr-in-split_page_owner.patch mm-memcg-make-memcg-huge-page-split-support-any-order-split.patch mm-page_owner-add-support-for-splitting-to-any-order-in-split-page_owner.patch mm-thp-split-huge-page-to-any-lower-order-pages.patch mm-huge_memory-enable-debugfs-to-split-huge-pages-to-any-order.patch mm-huge_memory-enable-debugfs-to-split-huge-pages-to-any-order-fix.patch