Re: [PATCH] New EPOLL flag: EPOLLHEAD

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Davide Libenzi
Date: Tuesday, August 3, 2010 - 12:12 am

On Mon, 2 Aug 2010, Li Yu wrote:


If you have such a high number of ready events in a continous manner, that 
resolving priorities at ready-time (O(Nready)) is a burden for you, you 
can simply create M epoll fds (one per priority), add the fds into the 
proper epoll fd, and use another epoll fd (or even poll(2) - if M is 
small) to gather them.



--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] New EPOLL flag: EPOLLHEAD, Li Yu, (Sun Aug 1, 10:31 pm)
Re: [PATCH] New EPOLL flag: EPOLLHEAD, Davide Libenzi, (Tue Aug 3, 12:12 am)
Re: [PATCH] New EPOLL flag: EPOLLHEAD, Li Yu, (Tue Aug 3, 6:09 am)
Re: [PATCH] New EPOLL flag: EPOLLHEAD, Li Yu, (Tue Aug 3, 11:20 pm)