Re: [PATCH v2 25/26] userfaultfd: selftests: refactor statistics

2019-02-25 Thread Mike Rapoport
On Tue, Feb 12, 2019 at 10:56:31AM +0800, Peter Xu wrote: > Introduce uffd_stats structure for statistics of the self test, at the > same time refactor the code to always pass in the uffd_stats for either > read() or poll() typed fault handling threads instead of using two > different ways to

[PATCH v2 25/26] userfaultfd: selftests: refactor statistics

2019-02-11 Thread Peter Xu
Introduce uffd_stats structure for statistics of the self test, at the same time refactor the code to always pass in the uffd_stats for either read() or poll() typed fault handling threads instead of using two different ways to return the statistic results. No functional change. With the new