summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-11-20 10:10:53 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-04 11:26:29 +0100
commitf41f8904fda99a09bd57bb833fced366c6ba7da9 (patch)
treee9af8975fbc79a937fe3391891c77f07def977e8 /tools/perf/scripts/python/export-to-sqlite.py
parentcfdaf640530c5ed6262a130c09a627dc7eaa5e01 (diff)
eventpoll: add EPOLL_URING_WAKE poll wakeup flag
commit caf1aeaffc3b09649a56769e559333ae2c4f1802 upstream. 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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions