• Jens Axboe's avatar
    io_uring: pass in EPOLL_URING_WAKE for eventfd signaling and wakeups · 44648532
    Jens Axboe authored
    Pass in EPOLL_URING_WAKE when signaling eventfd or doing poll related
    wakups, so that we can check for a circular event dependency between
    eventfd and epoll. If this flag is set when our wakeup handlers are
    called, then we know we have a dependency that needs to terminate
    multishot requests.
    
    eventfd and epoll are the only such possible dependencies.
    
    Cc: stable@vger.kernel.org # 6.0
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    44648532
poll.c 26.3 KB