]> Sergey Matveev's repositories - public-inbox.git/commit
pkt_op: favor level-triggered epoll for fairness
authorEric Wong <e@80x24.org>
Sat, 16 Oct 2021 09:29:51 +0000 (09:29 +0000)
committerEric Wong <e@80x24.org>
Sat, 16 Oct 2021 10:37:07 +0000 (10:37 +0000)
commitd5a668f3e30a195336dc5b86ecf2b339e6d1fcad
tree2f87b9a68a0ef9edae333d86341c50e226bc7410
parentaa0102f777d0155fa098b1e79eb9f4e8d1769279
pkt_op: favor level-triggered epoll for fairness

Sigfd->event_step needs priority over PktOp (and everything else).
We'll also add ECONNRESET checking, here, since it could see
bidirectional use in the future.

This is unlikely to have any sort of performance difference
since this is only for small, occasional packets, but the code
reduction is nice.
lib/PublicInbox/PktOp.pm