diff options
author | Jens Axboe <axboe@kernel.dk> | 2022-11-20 20:10:53 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-11-21 17:45:29 +0300 |
commit | caf1aeaffc3b09649a56769e559333ae2c4f1802 (patch) | |
tree | 2ff10e07dda0aa001af69621e5b9dbb3b26cc1e9 /include/soc/sifive | |
parent | f9d567c75ec216447f36da6e855500023504fa04 (diff) | |
download | linux-caf1aeaffc3b09649a56769e559333ae2c4f1802.tar.xz |
eventpoll: add EPOLL_URING_WAKE poll wakeup flag
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>
Diffstat (limited to 'include/soc/sifive')
0 files changed, 0 insertions, 0 deletions