Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit becbfcab authored by Christophe Leroy's avatar Christophe Leroy Committed by Sasha Levin
Browse files

tools/selftest/vm: allow choosing mem size and page size in map_hugetlb



[ Upstream commit fa7b9a805c797b729022029aaa3a2b7c35fff4c6 ]

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>
Stable-dep-of: 91b80cc5b39f ("selftests: mm: fix map_hugetlb failure on 64K page size systems")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 40011850
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment