Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp202220pxy; Wed, 28 Apr 2021 02:30:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx41bB688mfFF05kxQyYV7iwSWD7WP9ZIVN9fm+4TFZk8QDHlJIHRAjPQFJzPe/G/aazrWz X-Received: by 2002:a05:6402:270c:: with SMTP id y12mr10012796edd.284.1619602241506; Wed, 28 Apr 2021 02:30:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619602241; cv=none; d=google.com; s=arc-20160816; b=DMaRNBtD5j/0iW0kdChMbNijyfKO1T18ZwI+bJHRugTKHGZcBKKUNEEnTnpRuXwZZE qs2y+N3GEOLUNXdSTA81nQVrwLf1P1M2wgf1FHzRC/27EFrJLGsnKMMGV1yQ5T6RUD6y NWLXFFbCEFh9dR4PBVzkfJl5UvWzryNjsXSY4q6nsvQrjgqXMZzPXtE3DjDrgcaB8gv3 AKqvybwYCyK+QqDiR/QCluB/RjNVBV2YBGZAypcvHx5jmfbDbRCUwWAyi7KWrtEtzyCy YOfl3mGzxxwc7rPSN9E/xlbu5mL6yX5om3nuKOj40N9TZ6VsRp8L0o+tSYEDnbUdb/OV FDTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=m97o1Cpy+nr+sqTQpwUXN+dIQ1bxyFMfLliyzOnMOO8=; b=BHr9kkgkugcGVszEG+y518cYD0Do/gKidMOrMZeRzxU+SIE+5QMPOqWZViIZtxCTyF EVbDNZ4nqJ9+QxTkUXvFaqYAnuxSojspzPRszVS8s6XkRklp3ImOmihutlSX0VaWS9Y8 dLiG1JvABmw0d75TdDwjgy4thZdxPM/z5Hoflt49eMNuFpiGoP/Pj7q4c7LORgy/XKpP WmyBitrR1+pSs+LSOjMTbQ7O8/ITGUpKssub7EcWvOTIp9qkp69QHnop2a7sIlf2nWu/ DKqA3mpSbtjs1Rguxg40Pj6CjeRjvHN8YRIBV52WPbYBN9Fy6QCUQhXtPDuCZu5e0h0s xbqw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=antfin.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 8si2856775ejx.447.2021.04.28.02.30.18; Wed, 28 Apr 2021 02:30:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=antfin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238170AbhD1J3y (ORCPT + 99 others); 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