]> Sergey Matveev's repositories - public-inbox.git/commit
dskqxs: more closely match epoll semantics
authorEric Wong <e@80x24.org>
Sat, 29 Jun 2019 20:19:29 +0000 (20:19 +0000)
committerEric Wong <e@80x24.org>
Sat, 29 Jun 2019 20:41:38 +0000 (20:41 +0000)
commitf984b8ea898add0f67392723dd38c2ddd73dfa13
treee5232c727055f7ace4410dbfb81ac6d298c16fd1
parent8922459f0fa7265cfe3dee21f56895aeeb560d47
dskqxs: more closely match epoll semantics

EV_DISPATCH is actually a better match for EPOLLONESHOT
semantics than EV_ONESHOT in that it doesn't require EV_ADD
for every mod operation.

Blindly using EV_ADD everywhere forces the FreeBSD kernel to
do extra allocations up front, so it's best avoided.
lib/PublicInbox/DSKQXS.pm