Re: waitqueue lockdep annotation

From: Davidlohr Bueso
Date: Tue Dec 05 2017 - 10:40:34 EST


On Tue, 05 Dec 2017, Jason Baron wrote:

On 12/01/2017 06:03 PM, Christoph Hellwig wrote:

True. The patch below survives the amazing complex booting and starting
systemd with lockdep enabled test. Do we have something resembling a
epoll test suite?


I don't think we have any in the kernel tree proper (other than some
selftests using epoll) but there are tests in ltp and some performance
tests such as:

http://linux-scalability.org/epoll/epoll-test.c
http://www.xmailserver.org/linux-patches/pipetest.c

fyi I'm working on adding epoll to perf-bench, hope to have patches soon.

Thanks,
Davidlohr