Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2571999imm; Sat, 29 Sep 2018 23:35:22 -0700 (PDT) X-Google-Smtp-Source: ACcGV629cnvWsiOJOs5q3v0m+7zYBSdmr4zHnNC6ly9zYX3y+wy1X+MhYJBGbQ5E7BLcryWlHcbI X-Received: by 2002:a17:902:4403:: with SMTP id k3-v6mr5918431pld.243.1538289322158; Sat, 29 Sep 2018 23:35:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538289322; cv=none; d=google.com; s=arc-20160816; b=tfdvo9hrTwBUAp9dVL6nMRvmMckXbwhZfnW96wykYm8mT1aXurJrkBvF0U3f1KzOw8 +/DIIWA8+khg2OuX1EYNeRYQRzLC10kY57v3zuI1+v8EfDBBo3SSPu3IMzdixTjn231m /D0rxQuIljWj2yoDT2XLjqZ7fe9XQuUGSFHxws2dKzUBxh/iuiMRoNYfwE1h4zlz4QmS vNUR6RnvicjQTCBTaCRp8jyZNmht4aMtpXute+7DTf7QSqgpNpfX/yhbFUbG+YjZl/Xl XK+LphUl0CFFlq8Wsgf1n9yt2nUJWiiwWny25Fa+fsXOEVCLAI6Rbf4KrzAIvWx31JHb 6cDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=BVnhr9JVVz4wb+1agi6G1CpAL3bHC1u1usLgcDpJXyY=; b=d0VydVhsm57GiAcB9A2J9R9LTVb0NXqoAkDXZJROkE+L7Gq4U7h7nl9kxXIAD5GWQh R+6P5Wpa+1K1pC9ruOju6/6+IdZWL/g51mEpO9FZd7H3ksqwmRHqn2koHCL0/ulQsnBG dexScO/aarOQ+CdN/qj/iLCZ1bZ13ORrGEs2o0gTNyIMReCKNN7IcCrQIgtB0FPxPOuN QnSbpzd9lOF/IBNv8jYnS8ZDl+ScDh/nE10J3GOS5o0NL9HFiGER+juwZpj9L5zY4Oyo 3MF6oiT53GFDTQb2hOTvZGx2le6KC/AP4EZ94lmTsVIWz00sy1yQGjcWecsM00fQuMNk UwFg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p1-v6si9644937pfb.280.2018.09.29.23.34.10; Sat, 29 Sep 2018 23:35:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727616AbeI3NFt (ORCPT + 99 others); Sun, 30 Sep 2018 09:05:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41452 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726133AbeI3NFt (ORCPT ); Sun, 30 Sep 2018 09:05:49 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id F2421308424F; Sun, 30 Sep 2018 06:34:07 +0000 (UTC) Received: from xz-x1 (dhcp-14-128.nay.redhat.com [10.66.14.128]) by smtp.corp.redhat.com (Postfix) with ESMTPS id ADB3A5D985; Sun, 30 Sep 2018 06:34:03 +0000 (UTC) Date: Sun, 30 Sep 2018 14:34:01 +0800 From: Peter Xu To: Mike Rapoport Cc: linux-kernel@vger.kernel.org, Shuah Khan , Jerome Glisse , Mike Kravetz , linux-mm@kvack.org, Zi Yan , "Kirill A . Shutemov" , linux-kselftest@vger.kernel.org, Shaohua Li , Andrea Arcangeli , "Dr . David Alan Gilbert" , Andrew Morton Subject: Re: [PATCH 1/3] userfaultfd: selftest: cleanup help messages Message-ID: <20180930063401.GA18728@xz-x1> References: <20180929084311.15600-1-peterx@redhat.com> <20180929084311.15600-2-peterx@redhat.com> <20180929102811.GA6429@rapoport-lnx> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180929102811.GA6429@rapoport-lnx> User-Agent: Mutt/1.10.1 (2018-07-13) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.40]); Sun, 30 Sep 2018 06:34:08 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Sep 29, 2018 at 01:28:12PM +0300, Mike Rapoport wrote: [...] > > +const char *examples = > > + "# 100MiB 99999 bounces\n" > > + "./userfaultfd anon 100 99999\n" > > + "\n" > > + "# 1GiB 99 bounces\n" > > + "./userfaultfd anon 1000 99\n" > > + "\n" > > + "# 10MiB-~6GiB 999 bounces, continue forever unless an error triggers\n" > > + "while ./userfaultfd anon $[RANDOM % 6000 + 10] 999; do true; done\n" > > + "\n"; > > While at it, can you please update the examples to include other test > types? Sure thing. Thanks for the quick review! Regards, -- Peter Xu