aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHui Zhu <teawater@antfin.com>2021-04-28 17:29:01 +0800
committerWu Fengguang <wfg@mail.ustc.edu.cn>2021-05-01 17:11:18 +0800
commit357b2e411fe5c03c81817aea9b321e1027f587fe (patch)
treed46fcac21d35289b77e1058d922c7a46900f839e
parentbd40585ad77dc6ccc422485d87dca51aa3031829 (diff)
downloadvm-scalability-357b2e411fe5c03c81817aea9b321e1027f587fe.tar.gz
usemem: Update the usage of touch-alloc
The touch-alloc was updated to write memory in commit 3f9c6c227120db43873d1af20cea3f374eb99592. This commit updates the usage of touch-alloc. Signed-off-by: Hui Zhu <teawater@antfin.com> Signed-off-by: Wu Fengguang <wfg@mail.ustc.edu.cn>
-rw-r--r--usemem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usemem.c b/usemem.c
index 0c76d17..3b4d207 100644
--- a/usemem.c
+++ b/usemem.c
@@ -158,7 +158,7 @@ void usage(int ok)
" -Z|--read-again read memory again after access the memory\n"
" --punch-holes free every other page after allocation\n"
" --init-time account/show initialization time separately from run time\n"
- " --touch-alloc read memory after allocate it\n"
+ " --touch-alloc write memory to allocate the pages from Linux kernel after allocate it\n"
" -h|--help show this message\n"
, ourname);