aboutsummaryrefslogtreecommitdiffstats
path: root/mm/mm_init.c
diff options
context:
space:
mode:
authorYuan Can <[email protected]>2023-09-06 09:31:57 +0000
committerAndrew Morton <[email protected]>2023-10-04 17:32:22 +0000
commit6a898c2757af1ac852bb917a0866d2724f303076 (patch)
tree95a81cb681a90b2145f6a0603c3f2342c5cf41cd /mm/mm_init.c
parentmm: remove duplicated vma->vm_flags check when expanding stack (diff)
downloadkernel-6a898c2757af1ac852bb917a0866d2724f303076.tar.gz
kernel-6a898c2757af1ac852bb917a0866d2724f303076.zip
mm: hugetlb_vmemmap: allow alloc vmemmap pages fallback to other nodes
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. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Yuan Can <[email protected]> Suggested-by: Mike Kravetz <[email protected]> Reviewed-by: Mike Kravetz <[email protected]> Suggested-by: Muchun Song <[email protected]> Reviewed-by: Muchun Song <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/mm_init.c')
0 files changed, 0 insertions, 0 deletions