]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: add epoll selftests
authorHeiher <r@hev.cc>
Thu, 5 Dec 2019 00:52:19 +0000 (16:52 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 5 Dec 2019 03:44:13 +0000 (19:44 -0800)
commit1ae9c0f44409235dee56503ac85d4a3b1118dd47
treee4455507058f1fcc8d05c1d60957e7410b2b0347
parent3b8e522e50f87fcecfd353799338b0e8b4536548
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: hev <r@hev.cc>
Reviewed-by: Roman Penyaev <rpenyaev@suse.de>
Cc: Jason Baron <jbaron@akamai.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
tools/testing/selftests/Makefile
tools/testing/selftests/filesystems/epoll/.gitignore [new file with mode: 0644]
tools/testing/selftests/filesystems/epoll/Makefile [new file with mode: 0644]
tools/testing/selftests/filesystems/epoll/epoll_wakeup_test.c [new file with mode: 0644]