mm-hugetlb_vmemmap-allow-alloc-vmemmap-pages-fallback-to-other-nodes.patch removed from -mm tree
The quilt patch titled
Subject: mm: hugetlb_vmemmap: allow alloc vmemmap pages fallback to other nodes
has been removed from the -mm tree. Its filename was
mm-hugetlb_vmemmap-allow-alloc-vmemmap-pages-fallback-to-other-nodes.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Yuan Can <[email protected]>
Subject: mm: hugetlb_vmemmap: allow alloc vmemmap pages fallback to other nodes
Date: Wed, 6 Sep 2023 17:31:57 +0800
In vmemmap_remap_free(), a new head vmemmap page is allocated to avoid breaking a contiguous block of struct page memory, however, the allocation can always fail when the given node is movable node. Remove the __GFP_THISNODE to help avoid fragmentation.
---
mm/hugetlb_vmemmap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
mm/hugetlb_vmemmap.c renamed from mm/hugetlb_vmemmap.c~mm-hugetlb_vmemmap-allow-alloc-vmemmap-pages-fallback-to-other-nodes +1 -2
@@ -320,8 +320,7 @@ static int vmemmap_remap_free(unsigned l .vmemmap_pages = &vmemmap_pages, };int nid =page_to_nid ((struct page *)start); -gfp_t gfp_mask =GFP_KERNEL | __GFP_THISNODE | __GFP_NORETRY | - __GFP_NOWARN; +gfp_t gfp_mask =GFP_KERNEL | __GFP_NORETRY | __GFP_NOWARN;/* * Allocate a new head vmemmap page to avoid breaking a contiguous
_
Patches currently in -mm which might be from [email protected] are