* [PATCH for vm-scalability] usemem: Update the usage of touch-alloc
@ 2021-04-28 9:29 Hui Zhu
2021-05-01 9:11 ` Wu Fengguang
0 siblings, 1 reply; 2+ messages in thread
From: Hui Zhu @ 2021-04-28 9:29 UTC (permalink / raw)
To: wufengguang, linux-kernel; +Cc: Hui Zhu
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH for vm-scalability] usemem: Update the usage of touch-alloc
2021-04-28 9:29 [PATCH for vm-scalability] usemem: Update the usage of touch-alloc Hui Zhu
@ 2021-05-01 9:11 ` Wu Fengguang
0 siblings, 0 replies; 2+ messages in thread
From: Wu Fengguang @ 2021-05-01 9:11 UTC (permalink / raw)
To: Hui Zhu; +Cc: linux-kernel
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 <teawater@antfin.com>
>---
> usemem.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-02 9:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-28 9:29 [PATCH for vm-scalability] usemem: Update the usage of touch-alloc Hui Zhu
2021-05-01 9:11 ` Wu Fengguang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).