• Linus Torvalds's avatar
    Merge tag 'io_uring-5.17-2022-01-21' of git://git.kernel.dk/linux-block · f3a78227
    Linus Torvalds authored
    Pull io_uring fixes from Jens Axboe:
    
     - Fix the io_uring POLLFREE handling, similarly to how it was done for
       aio (Pavel)
    
     - Remove (now) unused function (Jiapeng)
    
     - Small series fixing an issue with work cancelations. A window exists
       where work isn't locatable in the pending list, and isn't active in a
       worker yet either. (me)
    
    * tag 'io_uring-5.17-2022-01-21' of git://git.kernel.dk/linux-block:
      io-wq: delete dead lock shuffling code
      io_uring: perform poll removal even if async work removal is successful
      io-wq: add intermediate work step between pending list and active work
      io-wq: perform both unstarted and started work cancelations in one go
      io-wq: invoke work cancelation with wqe->lock held
      io-wq: make io_worker lock a raw spinlock
      io-wq: remove useless 'work' argument to __io_worker_busy()
      io_uring: fix UAF due to missing POLLFREE handling
      io_uring: Remove unused function req_ref_put
    f3a78227
io-wq.c 33.7 KB