From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by kanga.kvack.org (Postfix) with ESMTP id 8C5788E0001 for ; Sun, 30 Sep 2018 02:34:09 -0400 (EDT) Received: by mail-qt1-f200.google.com with SMTP id f19-v6so10360863qtp.6 for ; Sat, 29 Sep 2018 23:34:09 -0700 (PDT) Received: from mx1.redhat.com (mx1.redhat.com. [209.132.183.28]) by mx.google.com with ESMTPS id i6-v6si804775qtj.167.2018.09.29.23.34.08 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Sep 2018 23:34:08 -0700 (PDT) Date: Sun, 30 Sep 2018 14:34:01 +0800 From: Peter Xu 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> Sender: owner-linux-mm@kvack.org List-ID: 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 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