diff options
| author | Valentin Bartenev <vbart@nginx.com> | 2016-07-15 15:18:57 +0300 |
|---|---|---|
| committer | Valentin Bartenev <vbart@nginx.com> | 2016-07-15 15:18:57 +0300 |
| commit | 5c2dd3913aad5c4bf7d9056e1336025c2703586b (patch) | |
| tree | 8569c90681ada207b182ff4b583225c7a70f3d9e /auto/modules | |
| parent | b60534e0d8f943740fb6847ac0a1ff3091a373d0 (diff) | |
| download | nginx-5c2dd3913aad5c4bf7d9056e1336025c2703586b.tar.gz nginx-5c2dd3913aad5c4bf7d9056e1336025c2703586b.tar.bz2 | |
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().
Diffstat (limited to 'auto/modules')
| -rw-r--r-- | auto/modules | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/auto/modules b/auto/modules index 829079842..614037cb1 100644 --- a/auto/modules +++ b/auto/modules @@ -43,6 +43,7 @@ fi if [ $NGX_TEST_BUILD_EPOLL = YES ]; then have=NGX_HAVE_EPOLL . auto/have have=NGX_HAVE_EPOLLRDHUP . auto/have + have=NGX_HAVE_EPOLLEXCLUSIVE . auto/have have=NGX_HAVE_EVENTFD . auto/have have=NGX_TEST_BUILD_EPOLL . auto/have EVENT_MODULES="$EVENT_MODULES $EPOLL_MODULE" |
