From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 248B1C43460 for ; Wed, 28 Apr 2021 09:29:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 05BCA61426 for ; Wed, 28 Apr 2021 09:29:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238212AbhD1J3y (ORCPT ); Wed, 28 Apr 2021 05:29:54 -0400 Received: from out30-42.freemail.mail.aliyun.com ([115.124.30.42]:44114 "EHLO out30-42.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238023AbhD1J3x (ORCPT ); Wed, 28 Apr 2021 05:29:53 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R241e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=alimailimapcm10staff010182156082;MF=teawaterz@linux.alibaba.com;NM=1;PH=DS;RN=3;SR=0;TI=SMTPD_---0UX3e5fb_1619602142; Received: from localhost(mailfrom:teawaterz@linux.alibaba.com fp:SMTPD_---0UX3e5fb_1619602142) by smtp.aliyun-inc.com(127.0.0.1); Wed, 28 Apr 2021 17:29:07 +0800 From: Hui Zhu To: wufengguang@huawei.com, linux-kernel@vger.kernel.org Cc: Hui Zhu Subject: [PATCH for vm-scalability] usemem: Update the usage of touch-alloc Date: Wed, 28 Apr 2021 17:29:01 +0800 Message-Id: <20210428092901.3103-1-teawater@antfin.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The touch-alloc was updated to write memory in commit 3f9c6c227120db43873d1af20cea3f374eb99592. This commit updates the usage of touch-alloc. Signed-off-by: Hui Zhu --- 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