diff --git a/src/ev_epoll.c b/src/ev_epoll.c index 506805f89..330c38c44 100644 --- a/src/ev_epoll.c +++ b/src/ev_epoll.c @@ -26,7 +26,7 @@ /* private data */ static THREAD_LOCAL struct epoll_event *epoll_events = NULL; -static int epoll_fd[MAX_THREADS]; // per-thread epoll_fd +static int epoll_fd[MAX_THREADS] __read_mostly; // per-thread epoll_fd #ifndef EPOLLRDHUP /* EPOLLRDHUP was defined late in libc, and it appeared in kernel 2.6.17 */