Re: [PATCH 1/3] userfaultfd: selftest: cleanup help messages
From: Peter Xu
Date: Sun Sep 30 2018 - 02:45:22 EST
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