[PATCH 0/2] ARM: Wire up userfaultfd and mlock2 syscalls

Thierry Reding thierry.reding at gmail.com
Fri Aug 7 06:34:44 PDT 2015


From: Thierry Reding <treding at nvidia.com>

These are two fairly trivial patches to wire up the userfaultfd and
mlock2 syscalls on 32-bit ARM. I've verified that these work by running
the userfaultfd and mlock2-tests tests from tools/testing/selftests/vm/
and they give good results. Note that mlock2-tests doesn't work without
additional fixups in linux-next needed to remove VM flags clashes.

I suppose this would have to wait until both of the above syscalls have
actually been merged, but I figured I'd post them anyway since I already
did the work and verified that they work.

Thierry

Thierry Reding (2):
  ARM: Wire up userfaultfd syscall
  ARM: Wire up mlock2 syscall

 arch/arm/include/asm/unistd.h      | 2 +-
 arch/arm/include/uapi/asm/unistd.h | 2 ++
 arch/arm/kernel/calls.S            | 2 ++
 3 files changed, 5 insertions(+), 1 deletion(-)

-- 
2.4.5




More information about the linux-arm-kernel mailing list