[Dovecot] [PATCH] [RFC] epoll based ioloop handler
Timo Sirainen
tss at iki.fi
Mon Sep 6 00:13:21 EEST 2004
On 30.8.2004, at 16:07, Andrey Panin wrote:
> this patch adds ioloop handler using Linux 2.6 epoll API.
> I'm not sure is it ready for inclusion right now, but it
> works for me and survives deadconn test with 1024 simultaneous
> connections.
I made some changes and committed it. I'm not running 2.6 so I'm not
sure if I broke it.
- Removed count from struct io_list. Uses less memory.
- Don't use epoll unless --with-ioloop=epoll is given. Alternative
would be to check at runtime if epoll is supported by kernel. I'm not
sure if it's worth the trouble..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20040906/3486983a/PGP.pgp
More information about the dovecot
mailing list