From 93ef6feaeee8266627eaa0b51ebaa793141af02a Mon Sep 17 00:00:00 2001
From: Craig Tiller <ctiller@google.com>
Date: Thu, 11 May 2017 20:45:47 +0000
Subject: [PATCH] Enable EPOLLEXCLUSIVE poller

---
 src/core/lib/iomgr/ev_epollex_linux.c | 2 --
 tools/run_tests/run_tests.py          | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/core/lib/iomgr/ev_epollex_linux.c b/src/core/lib/iomgr/ev_epollex_linux.c
index 7cb6085e25..cb6814e89e 100644
--- a/src/core/lib/iomgr/ev_epollex_linux.c
+++ b/src/core/lib/iomgr/ev_epollex_linux.c
@@ -1476,8 +1476,6 @@ static const grpc_event_engine_vtable vtable = {
 
 const grpc_event_engine_vtable *grpc_init_epollex_linux(
     bool explicitly_requested) {
-  if (!explicitly_requested) return NULL;
-
   if (!grpc_has_wakeup_fd()) {
     return NULL;
   }
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py
index 83a83948a5..ddc44635d0 100755
--- a/tools/run_tests/run_tests.py
+++ b/tools/run_tests/run_tests.py
@@ -75,7 +75,7 @@ _FORCE_ENVIRON_FOR_WRAPPERS = {
 
 
 _POLLING_STRATEGIES = {
-  'linux': ['epollsig', 'poll', 'poll-cv']
+  'linux': ['epollex', 'epollsig', 'poll', 'poll-cv']
 # TODO(ctiller, sreecha): enable epoll1, epollex, epoll-thread-pool
 }
 
-- 
GitLab