lkml.org 
[lkml]   [2021]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH for vm-scalability] usemem: Update the usage of touch-alloc
Date
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>
---
usemem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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);

--
2.17.1
\
 
 \ /
  Last update: 2021-04-28 11:29    [W:0.145 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site