Re: [PATCH v2 5/9] mm: hugeltb: check NUMA_NO_NODE in only_alloc_fresh_hugetlb_folio()

Oscar Salvador
2025-09-08T09:35:02Z

On Tue, Sep 02, 2025 at 08:48:16PM +0800, Kefeng Wang wrote:
> Move the NUMA_NO_NODE check out of buddy and gigantic folio allocation
> to cleanup code a bit, also this will avoid NUMA_NO_NODE passed as 'nid'
> to node_isset() in alloc_buddy_hugetlb_folio().
>
> Reviewed-by: Sidhartha Kumar <sidhartha.kumar@oracle.com>
> Reviewed-by: Jane Chu <jane.chu@oracle.com>
> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>

Acked-by: Oscar Salvador <osalvador@suse.de>

--
Oscar Salvador
SUSE Labs