Re: [PATCH Resend] epoll: add EPOLLEXCLUSIVE support

From: richard -rw- weinberger
Date: Wed Mar 28 2012 - 10:09:24 EST

On Wed, Mar 28, 2012 at 3:57 PM, Hagen Paul Pfeifer <hagen@xxxxxxxx> wrote:
> High performance server sometimes create one listening socket (e.g. port
> 80), create a epoll file descriptor and add the socket. Afterwards
> create SC_NPROCESSORS_ONLN threads and wait for events. This often
> result in a thundering herd problem because all CPUs are scheduled.
> This patch add an additional flag to epoll_ctl(2) called EPOLLEXCLUSIVE.
> If a descriptor is added with this flag only one CPU is scheduled in.
> Signed-off-by: Hagen Paul Pfeifer <hagen@xxxxxxxx>
> ---
> Dave rejected the patch and said not network specific. Because there
> is no epoll maintainer this time directly.

CC'ing maintainers for you...
Please use scripts/

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at