diff options
author | 2023-09-06 17:31:57 +0800 | |
---|---|---|
committer | 2023-10-04 10:32:22 -0700 | |
commit | 6a898c2757af1ac852bb917a0866d2724f303076 (patch) | |
tree | 95a81cb681a90b2145f6a0603c3f2342c5cf41cd /.clang-format | |
parent | mm: remove duplicated vma->vm_flags check when expanding stack (diff) | |
download | linux-6a898c2757af1ac852bb917a0866d2724f303076.tar.gz linux-6a898c2757af1ac852bb917a0866d2724f303076.tar.bz2 linux-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/20230906093157.9737-1-yuancan@huawei.com
Signed-off-by: Yuan Can <yuancan@huawei.com>
Suggested-by: Mike Kravetz <mike.kravetz@oracle.com>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Suggested-by: Muchun Song <songmuchun@bytedance.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions