diff options
author | Song Liu <songliubraving@fb.com> | 2022-02-04 10:57:34 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-02-07 18:13:01 -0800 |
commit | fac54e2bfb5be2b0bbf115fe80d45f59fd773048 (patch) | |
tree | 87fa7c0e11cd4a771ecf443e82cc4747fc88d7b5 /tools/lib/api/fs | |
parent | 128dac5f21e950746aae3c1ef6df87e231d288a3 (diff) |
x86/Kconfig: Select HAVE_ARCH_HUGE_VMALLOC with HAVE_ARCH_HUGE_VMAP
This enables module_alloc() to allocate huge page for 2MB+ requests.
To check the difference of this change, we need enable config
CONFIG_PTDUMP_DEBUGFS, and call module_alloc(2MB). Before the change,
/sys/kernel/debug/page_tables/kernel shows pte for this map. With the
change, /sys/kernel/debug/page_tables/ show pmd for thie map.
Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20220204185742.271030-2-song@kernel.org
Diffstat (limited to 'tools/lib/api/fs')
0 files changed, 0 insertions, 0 deletions