On Tue, Sep 21, 2021 at 09:33:23AM -0700, Axel Rasmussen wrote: > Two arguments for doing this: > > First, and maybe most importantly, the resulting code is significantly > shorter / simpler. > > Then, we avoid using GNU libc extensions. Why does this matter? It makes > testing userfaultfd with the selftest easier e.g. on distros which use > something other than glibc (e.g., Alpine, which uses musl); basically, > it makes the test more portable. > > Signed-off-by: Axel Rasmussen <axelrasmussen@xxxxxxxxxx> Reviewed-by: Peter Xu <peterx@xxxxxxxxxx> -- Peter Xu