about summary refs log tree commit homepage
path: root/notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'notify.c')
-rw-r--r--notify.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/notify.c b/notify.c
index 73e772a..1deed82 100644
--- a/notify.c
+++ b/notify.c
@@ -100,7 +100,14 @@ void mog_notify_wait(bool need_usage_file)
         mfd = mog_idleq_wait_intr(mog_notify_queue, timeout);
         if (mfd)
                 notify_queue_step(mfd);
-        else if (errno == EINTR)
+        else
+                /*
+                 * errno == EINTR, but epoll_pwait on some Linux v5.0+/v5.1+
+                 * fails to return EINTR.  This should be fixed in Linux,
+                 * soon:
+                 * <20190427093319.sgicqik2oqkez3wk@dcvr>
+                 * <20190507043954.9020-1-deepa.kernel@gmail.com>
+                 */
                 note_run();
 }