diff options
author | Song Liu <[email protected]> | 2022-04-15 09:44:11 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2022-04-24 10:00:54 -0700 |
commit | f2edd118d02dd11449b126f786f09749ca152ba5 (patch) | |
tree | 2d3b9a1a32f41ec6bacaed9fd3cadb7b733bca2d /lib/mpi/mpi-cmp.c | |
parent | 22da5264abf497a10a4ed629f07f4ba28a7ed5eb (diff) |
page_alloc: use vmalloc_huge for large system hash
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.
Signed-off-by: Song Liu <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Rik van Riel <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions