Jens Axboe
2f09377502
eventpoll: add EPOLL_URING_WAKE poll wakeup flag
...
[ Upstream commit caf1aeaffc3b09649a56769e559333ae2c4f1802 ]
We can have dependencies between epoll and io_uring. Consider an epoll
context, identified by the epfd file descriptor, and an io_uring file
descriptor identified by iofd. If we add iofd to the epfd context, and
arm a multishot poll request for epfd with iofd, then the multishot
poll request will repeatedly trigger and generate events until terminated
by CQ ring overflow. This isn't a desired behavior.
Add EPOLL_URING so that io_uring can pass it in as part of the poll wakeup
key, and io_uring can check for that to detect a potential recursive
invocation.
Cc: stable@vger.kernel.org # 6.0
Signed-off-by: Jens Axboe <axboe@kernel.dk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-01-04 11:39:24 +01:00
..
2020-12-30 11:54:09 +01:00
2022-08-21 15:15:49 +02:00
2020-08-22 10:53:12 +01:00
2022-08-21 15:15:54 +02:00
2020-10-03 17:28:45 -07:00
2022-10-26 13:25:30 +02:00
2022-12-02 17:39:57 +01:00
2020-08-12 10:58:00 -07:00
2021-01-12 20:18:25 +01:00
2020-10-09 12:47:02 -06:00
2022-08-03 12:00:52 +02:00
2020-10-07 12:13:23 +02:00
2022-11-16 09:57:10 +01:00
2020-10-02 17:58:52 -06:00
2021-01-06 14:56:51 +01:00
2020-09-17 18:46:04 +02:00
2020-12-30 11:53:58 +01:00
2020-10-01 15:03:40 -04:00
2022-05-25 09:17:56 +02:00
2020-09-10 09:10:06 +02:00
2020-09-04 12:46:07 +01:00
2021-11-18 14:04:25 +01:00
2021-07-19 09:44:51 +02:00
2023-01-04 11:39:24 +01:00
2021-05-19 10:13:00 +02:00
2020-12-26 16:02:43 +01:00
2020-09-18 15:17:40 +02:00
2020-10-03 14:18:29 -07:00
2020-10-28 15:46:47 +01:00
2020-08-27 08:01:47 -07:00
2020-10-31 13:16:02 -07:00
2021-04-21 13:00:50 +02:00
2020-12-26 16:02:45 +01:00
2020-09-23 13:24:34 -07:00
2020-09-17 17:58:13 -07:00
2021-05-14 09:50:38 +02:00
2020-08-22 12:44:37 -07:00
2021-06-23 14:42:47 +02:00
2020-09-03 15:17:28 -07:00
2022-03-08 19:09:38 +01:00
2023-01-04 11:39:23 +01:00
2020-10-01 14:52:46 +02:00
2022-11-25 17:45:55 +01:00
2020-09-15 09:57:45 -05:00
2022-11-25 17:45:55 +01:00
2021-01-06 14:56:51 +01:00
2020-08-31 14:40:29 -04:00
2020-10-21 17:36:32 -04:00
2021-03-17 17:06:11 +01:00
2021-01-06 14:56:51 +01:00
2020-08-12 10:57:59 -07:00
2020-08-18 15:44:44 +02:00
2020-09-25 14:23:27 +02:00
2020-09-15 22:13:31 +10:00
2020-08-27 16:06:47 -04:00
2021-01-06 14:56:51 +01:00
2020-09-10 12:25:51 -07:00
2021-08-18 08:59:13 +02:00
2020-10-14 20:28:05 -07:00
2021-01-06 14:56:51 +01:00
2022-01-05 12:40:32 +01:00
2020-10-16 09:28:43 -04:00
2020-10-02 09:37:41 -04:00
2020-09-22 13:58:40 +02:00
2020-09-28 15:07:41 +02:00
2023-01-04 11:39:17 +01:00
2020-11-27 11:03:06 -08:00
2022-08-21 15:16:18 +02:00
2020-10-19 19:39:22 +02:00
2020-09-04 12:34:50 +02:00
2021-03-07 12:34:07 +01:00
2021-09-22 12:28:05 +02:00
2020-09-04 12:46:07 +01:00
2021-03-30 14:31:53 +02:00
2020-12-21 13:30:06 +01:00
2020-08-04 20:16:37 -07:00
2021-02-03 23:28:43 +01:00
2022-04-08 14:40:03 +02:00
2020-10-05 16:35:57 +01:00
2020-08-03 17:57:40 -07:00
2021-09-18 13:40:22 +02:00
2020-09-24 20:15:45 -07:00
2020-12-03 10:03:14 -08:00
2022-11-25 17:45:55 +01:00
2021-01-06 14:56:51 +01:00
2021-11-26 10:39:14 +01:00
2020-08-21 08:55:13 +02:00
2021-09-12 08:58:27 +02:00
2020-09-18 13:58:37 -07:00
2020-09-18 13:58:37 -07:00
2021-05-14 09:50:18 +02:00
2020-08-12 10:57:59 -07:00
2020-09-14 15:39:42 +02:00
2020-09-26 10:22:29 +02:00
2021-01-30 13:55:18 +01:00
2020-10-07 14:23:44 -06:00
2020-10-12 11:41:02 -06:00
2020-10-23 11:55:28 -04:00
2020-10-23 11:55:28 -04:00
2022-11-03 23:57:53 +09:00
2020-08-05 09:30:19 -04:00
2020-08-05 09:30:20 -04:00
2020-08-05 11:08:39 -04:00
2020-08-05 11:08:39 -04:00
2020-08-05 11:08:39 -04:00
2020-09-10 11:39:22 +02:00
2020-08-18 14:14:25 +02:00
2020-08-05 11:08:40 -04:00
2020-08-05 11:08:40 -04:00
2020-08-05 11:08:40 -04:00
2020-09-10 10:05:58 +02:00
2020-08-05 11:08:41 -04:00
2020-09-10 10:05:58 +02:00
2020-08-05 11:08:40 -04:00
2020-08-05 11:08:40 -04:00
2022-05-25 09:18:02 +02:00