Hi Christoph, > On Apr 14, 2022, at 11:32 PM, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote: > > 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> Thanks for your kind review! Could you please share your thoughts on shipping the set with 5.18 (or whether we should postpone it)? AFAICT, the only changed behavior is to allow alloc_large_system_hash return huge pages for size > PMD_SIZE on x86_64. I think this is relatively safe, as this is only for large hash and we are at rc2. Thanks, Song