Re: [PATCH v3 bpf RESEND 2/4] page_alloc: use __vmalloc_huge for large system hash
From: Christoph Hellwig
Date: Fri Apr 15 2022 - 02:32:07 EST
On Thu, Apr 14, 2022 at 12:59:12PM -0700, Song Liu wrote:
> Use __vmalloc_huge() in alloc_large_system_hash() so that large system
> hash (>= PMD_SIZE) could benefit from huge pages. Note that __vmalloc_huge
> only allocates huge pages for systems with HAVE_ARCH_HUGE_VMALLOC.
Looks good (modulo the possible naming chane suggested in patch 1):
Reviewed-by: Christoph Hellwig <hch@xxxxxx>