On Sun, Oct 04, 2020 at 03:36:08AM +0100, Al Viro wrote: > Locking and especilly control flow in fs/eventpoll.c is > overcomplicated. As the result, the code has been hard to follow > and easy to fuck up while modifying. > > The following series attempts to untangle it; there's more to be done > there, but this should take care of some of the obfuscated bits. It also > reduces the memory footprint of that thing. > > The series lives in > git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git #experimental.epoll > and it survives light local beating. It really needs review and testing. > I'll post the individual patches in followups (27 commits, trimming about 120 > lines out of fs/eventpoll.c). PS: the posted series is on top of #work.epoll, which got merged into mainline on Friday. Forgot to mention that - my apologies.