aboutsummaryrefslogtreecommitdiff
path: root/mm/page_isolation.c
diff options
context:
space:
mode:
authorAxel Rasmussen <axelrasmussen@google.com>2021-11-05 13:42:07 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2021-11-06 13:30:39 -0700
commit1c10e674b35e2c2566b621ceca74064817c249f0 (patch)
tree2d2e008144beb292fc9281859eee3fa2e0f34426 /mm/page_isolation.c
parent2c0078a7d820e55ce6a176721a94f3c585833436 (diff)
downloadlinux-1c10e674b35e2c2566b621ceca74064817c249f0.tar.gz
linux-1c10e674b35e2c2566b621ceca74064817c249f0.tar.bz2
linux-1c10e674b35e2c2566b621ceca74064817c249f0.zip
userfaultfd/selftests: don't rely on GNU extensions for random numbers
Patch series "Small userfaultfd selftest fixups", v2. This patch (of 3): 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. Link: https://lkml.kernel.org/r/20210930212309.4001967-2-axelrasmussen@google.com Signed-off-by: Axel Rasmussen <axelrasmussen@google.com> Reviewed-by: Peter Xu <peterx@redhat.com> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_isolation.c')
0 files changed, 0 insertions, 0 deletions