]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/uffd: allow EINTR/EAGAIN
authorPeter Xu <peterx@redhat.com>
Fri, 14 Jan 2022 22:08:01 +0000 (14:08 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 15 Jan 2022 14:30:30 +0000 (16:30 +0200)
commitb12dc381915056a41dbfa795acca77d6bbe71db5
tree43c9b021c96cb085fe21d667b81ddbf7bc5c9891
parent061ae8bfb6ee30d3d0e043ef70e64e19830e76ce
selftests/uffd: allow EINTR/EAGAIN

This allow test to continue with interruptions like gdb.

Link: https://lkml.kernel.org/r/20211115135219.85881-1-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Axel Rasmussen <axelrasmussen@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Nadav Amit <nadav.amit@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
tools/testing/selftests/vm/userfaultfd.c