On 03/30/23 12:07, Peter Xu wrote: > We've got the macros in uffd-stress.c, move it over and use it in > vm_util.h. > > Signed-off-by: Peter Xu <peterx@xxxxxxxxxx> > --- > tools/testing/selftests/mm/userfaultfd.c | 8 -------- > tools/testing/selftests/mm/vm_util.c | 16 ++++------------ > tools/testing/selftests/mm/vm_util.h | 8 ++++++++ > 3 files changed, 12 insertions(+), 20 deletions(-) Nice, thanks! Reviewed-by: Mike Kravetz <mike.kravetz@xxxxxxxxxx> -- Mike Kravetz