Messages in this thread | | | Date | Thu, 14 Apr 2022 23:32:03 -0700 | From | Christoph Hellwig <> | Subject | Re: [PATCH v3 bpf RESEND 2/4] page_alloc: use __vmalloc_huge for large system hash |
| |
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@lst.de>
| |