[LTP] [PATCH v3] syscall: Add userfaultfd testcase
Jan Stancek
jstancek@redhat.com
Fri Mar 15 23:17:27 CET 2019
----- Original Message -----
> This tests the userfaultfd syscall to handle pagefault events.
> It does so by registering a userfaultfd object to the address of
> a memory page. In a second thread it handles the event and writes
> data in the monitored memory page to indicate success.
>
> Signed-off-by: Christian Amann <camann@suse.com>
Acked-by: Jan Stancek <jstancek@redhat.com>
Couple small nits below (no need to repost).
syscall -> syscalls in subject
> +
> +static int userfaultfd(int flags)
If glibc ever provides func, my money would be on this :-).
But looking at HEAD, we're safe now.
Thanks,
Jan
More information about the ltp
mailing list