Skip to content

ARM: Wire up userfaultfd and mlock2 syscalls

Thierry Reding linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ARM: Wire up userfaultfd syscallarch/arm/include/asm/unistd.h arch/arm/include/uapi/asm/unistd.h arch/arm/kernel/calls.S+3 -10 replies
2/2ARM: Wire up mlock2 syscallarch/arm/include/uapi/asm/unistd.h arch/arm/kernel/calls.S+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

From: Thierry Reding <[email protected]>

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(-)
Signature · 1 line
2.4.5