diff options
author | Qinglin Pan <panqinglin2020@iscas.ac.cn> | 2023-02-09 16:16:46 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2023-03-08 06:39:16 +0300 |
commit | 82a1a1f3bfb628c4a44652349b94c66c7e8be7c9 (patch) | |
tree | 5948a143d42878d05f8c6ff7a1c4e1f206604571 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 23ad288aaf153a78b042e10062be1a6284909f95 (diff) | |
download | linux-82a1a1f3bfb628c4a44652349b94c66c7e8be7c9.tar.xz |
riscv: mm: support Svnapot in hugetlb page
Svnapot can be used to support 64KB hugetlb page, so it can become a new
option when using hugetlbfs. Add a basic implementation of hugetlb page,
and support 64KB as a size in it by using Svnapot.
For test, boot kernel with command line contains "default_hugepagesz=64K
hugepagesz=64K hugepages=20" and run a simple test like this:
tools/testing/selftests/vm/map_hugetlb 1 16
And it should be passed.
Signed-off-by: Qinglin Pan <panqinglin00@gmail.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20230209131647.17245-3-panqinglin00@gmail.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions