Commit f2728fe8 authored by Heiher's avatar Heiher Committed by Linus Torvalds
Browse files

selftests: add epoll selftests

This adds the promised selftest for epoll.  It will verify the wakeups
of epoll.  Including leaf and nested mode, epoll_wait() and poll() and
multi-threads.

Link: http://lkml.kernel.org/r/20191009121518.4027-1-r@hev.cc


Signed-off-by: default avatarhev <r@hev.cc>
Reviewed-by: default avatarRoman Penyaev <rpenyaev@suse.de>
Cc: Jason Baron <jbaron@akamai.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 339ddb53
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@ TARGETS += efivarfs
TARGETS += exec
TARGETS += filesystems
TARGETS += filesystems/binderfs
TARGETS += filesystems/epoll
TARGETS += firmware
TARGETS += ftrace
TARGETS += futex
+1 −0
Original line number Diff line number Diff line
epoll_wakeup_test
+7 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0

CFLAGS += -I../../../../../usr/include/
LDFLAGS += -lpthread
TEST_GEN_PROGS := epoll_wakeup_test

include ../../lib.mk
+3074 −0

File added.

Preview size limit exceeded, changes collapsed.