RE: [PATCH] mm/hugetlb: split hugetlb_cma in nodes with memory

2020-07-07 Thread Song Bao Hua (Barry Song)
uxarm ; linux-arm-ker...@lists.infradead.org; > Roman Gushchin ; Catalin Marinas > ; Will Deacon ; Thomas Gleixner > ; Ingo Molnar ; Borislav Petkov > ; H . Peter Anvin ; Mike Kravetz > ; Mike Rapoport ; Jonathan > Cameron > Subject: Re: [PATCH] mm/hugetlb: split hugetlb_cma in node

Re: [PATCH] mm/hugetlb: split hugetlb_cma in nodes with memory

2020-07-07 Thread Anshuman Khandual
Hello Barry, On 07/08/2020 05:53 AM, Barry Song wrote: > Rather than splitting huge_cma in online nodes, it is better to do it in > nodes with memory. Right, it makes sense to avoid nodes without memory, hence loosing portions of CMA reservation intended for HugeTLB. N_MEMORY is better than