Skip to content
Commit fa7b9a80 authored by Christophe Leroy's avatar Christophe Leroy Committed by Michael Ellerman
Browse files

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: default avatarChristophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 6b9166f0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment