2021-04-28 09:30:41

by Hui Zhu

[permalink] [raw]
Subject: [PATCH for vm-scalability] 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 <[email protected]>
---
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


2021-05-02 09:00:37

by Wu Fengguang

[permalink] [raw]
Subject: Re: [PATCH for vm-scalability] usemem: Update the usage of touch-alloc

Applied, thanks!

On Wed, Apr 28, 2021 at 05:29:01PM +0800, Hui Zhu wrote:
>The touch-alloc was updated to write memory in commit
>3f9c6c227120db43873d1af20cea3f374eb99592.
>
>This commit updates the usage of touch-alloc.
>
>Signed-off-by: Hui Zhu <[email protected]>
>---
> usemem.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)