diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2019-02-08 15:02:55 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-02-22 00:10:16 +1100 |
commit | fa7b9a805c797b729022029aaa3a2b7c35fff4c6 (patch) | |
tree | af4f2cb7490b9d59d2cadcf19458005d5582130a /arch/powerpc/mm/dump_linuxpagetables.c | |
parent | 6b9166f0786e6f24da9fb198bcf70ce131c88ee1 (diff) | |
download | linux-fa7b9a805c797b729022029aaa3a2b7c35fff4c6.tar.gz linux-fa7b9a805c797b729022029aaa3a2b7c35fff4c6.tar.bz2 linux-fa7b9a805c797b729022029aaa3a2b7c35fff4c6.zip |
tools/selftest/vm: allow choosing mem size and page size in map_hugetlb
map_hugetlb maps 256Mbytes of memory with default hugepage size.
This patch allows the user to pass the size and page shift as an
argument in order to use different size and page size.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/dump_linuxpagetables.c')
0 files changed, 0 insertions, 0 deletions