aboutsummaryrefslogtreecommitdiff
path: root/mm/mlock.c
diff options
context:
space:
mode:
authorChristophe Leroy2020-09-18 21:20:28 -0700
committerLinus Torvalds2020-09-19 13:13:39 -0700
commit1ec882fc81e3177faf055877310dbdb0c68eb7db (patch)
tree0e9f600920a8e042195df66e037d8c849eafe50f /mm/mlock.c
parentec0abae6dcdf7ef88607c869bf35a4b63ce1b370 (diff)
selftests/vm: fix display of page size in map_hugetlb
The displayed size is in bytes while the text says it is in kB. Shift it by 10 to really display kBytes. Fixes: fa7b9a805c79 ("tools/selftest/vm: allow choosing mem size and page size in map_hugetlb") Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Cc: <stable@vger.kernel.org> Link: https://lkml.kernel.org/r/e27481224564a93d14106e750de31189deaa8bc8.1598861977.git.christophe.leroy@csgroup.eu Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mlock.c')
0 files changed, 0 insertions, 0 deletions