Skip to contentSkip to conversation

usemem: Update the usage of touch-alloc

PATCH Applied Hui Zhu 2 participants 2 messages Apr 28, 2021 – May 2, 2021

lore
Share & tools
lore

Hui Zhu

author
#0 lore raw

PATCH 1/1 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.

---
 usemem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
usemem.c +1 -1
index 0c76d17..3b4d207 100644
@@ -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);
 
Signature · 1 line
2.17.1
Applied
#1 lore raw

Applied, thanks!

Quoted 9 lines · Hui Zhu

The touch-alloc was updated to write memory in commit 3f9c6c227120db43873d1af20cea3f374eb99592.

This commit updates the usage of touch-alloc.

---
usemem.c | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)