mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Hui Zhu <teawater@antfin.com>
To: wufengguang@huawei.com, linux-kernel@vger.kernel.org
Cc: Hui Zhu <teawater@antfin.com>
Subject: [PATCH for vm-scalability] usemem: Update the usage of touch-alloc
Date: Wed, 28 Apr 2021 17:29:01 +0800	[thread overview]
Message-ID: <20210428092901.3103-1-teawater@antfin.com> (raw)

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


             reply	other threads:[~2021-04-28  9:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-28  9:29 Hui Zhu [this message]
2021-05-01  9:11 ` Wu Fengguang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210428092901.3103-1-teawater@antfin.com \
    --to=teawater@antfin.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wufengguang@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®