hc
2024-05-10 10ebd8556b7990499c896a550e3d416b444211e6
kernel/include/uapi/linux/eventpoll.h
....@@ -41,6 +41,12 @@
4141 #define EPOLLMSG (__force __poll_t)0x00000400
4242 #define EPOLLRDHUP (__force __poll_t)0x00002000
4343
44
+/*
45
+ * Internal flag - wakeup generated by io_uring, used to detect recursion back
46
+ * into the io_uring poll handler.
47
+ */
48
+#define EPOLL_URING_WAKE ((__force __poll_t)(1U << 27))
49
+
4450 /* Set exclusive wakeup mode for the target file descriptor */
4551 #define EPOLLEXCLUSIVE ((__force __poll_t)(1U << 28))
4652