Re: [PATCH v4 bpf 2/4] page_alloc: use vmalloc_huge for large system hash

From: Rik van Riel
Date: Fri Apr 15 2022 - 13:43:53 EST


On Fri, 2022-04-15 at 09:44 -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.
>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>
> Signed-off-by: Song Liu <song@xxxxxxxxxx>

Reviewed-by: Rik van Riel <riel@xxxxxxxxxxx>