Mercurial > hg > nginx
comparison auto/modules @ 6635:6acaa638fa07
Events: support for EPOLLEXCLUSIVE.
This flag appeared in Linux 4.5 and is useful for avoiding thundering herd
problem.
The current Linux kernel implementation walks the list of exclusive waiters,
and queues an event to each epfd, until it finds the first waiter that has
threads blocked on it via epoll_wait().
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Fri, 15 Jul 2016 15:18:57 +0300 |
parents | 787dcc15b802 |
children | 0125b151c9a5 |
comparison
equal
deleted
inserted
replaced
6634:18f6120e3b7a | 6635:6acaa638fa07 |
---|---|
41 fi | 41 fi |
42 | 42 |
43 if [ $NGX_TEST_BUILD_EPOLL = YES ]; then | 43 if [ $NGX_TEST_BUILD_EPOLL = YES ]; then |
44 have=NGX_HAVE_EPOLL . auto/have | 44 have=NGX_HAVE_EPOLL . auto/have |
45 have=NGX_HAVE_EPOLLRDHUP . auto/have | 45 have=NGX_HAVE_EPOLLRDHUP . auto/have |
46 have=NGX_HAVE_EPOLLEXCLUSIVE . auto/have | |
46 have=NGX_HAVE_EVENTFD . auto/have | 47 have=NGX_HAVE_EVENTFD . auto/have |
47 have=NGX_TEST_BUILD_EPOLL . auto/have | 48 have=NGX_TEST_BUILD_EPOLL . auto/have |
48 EVENT_MODULES="$EVENT_MODULES $EPOLL_MODULE" | 49 EVENT_MODULES="$EVENT_MODULES $EPOLL_MODULE" |
49 CORE_SRCS="$CORE_SRCS $EPOLL_SRCS" | 50 CORE_SRCS="$CORE_SRCS $EPOLL_SRCS" |
50 fi | 51 fi |