• Linus Torvalds's avatar
    Merge tag 'io_uring-5.12-2021-03-19' of git://git.kernel.dk/linux-block · 0ada2dad
    Linus Torvalds authored
    Pull io_uring fixes from Jens Axboe:
     "Quieter week this time, which was both expected and desired. About
      half of the below is fixes for this release, the other half are just
      fixes in general. In detail:
    
       - Fix the freezing of IO threads, by making the freezer not send them
         fake signals. Make them freezable by default.
    
       - Like we did for personalities, move the buffer IDR to xarray. Kills
         some code and avoids a use-after-free on teardown.
    
       - SQPOLL cleanups and fixes (Pavel)
    
       - Fix linked timeout race (Pavel)
    
       - Fix potential completion post use-after-free (Pavel)
    
       - Cleanup and move internal structures outside of general kernel view
         (Stefan)
    
       - Use MSG_SIGNAL for send/recv from io_uring (Stefan)"
    
    * tag 'io_uring-5.12-2021-03-19' of git://git.kernel.dk/linux-block:
      io_uring: don't leak creds on SQO attach error
      io_uring: use typesafe pointers in io_uring_task
      io_uring: remove structures from include/linux/io_uring.h
      io_uring: imply MSG_NOSIGNAL for send[msg]()/recv[msg]() calls
      io_uring: fix sqpoll cancellation via task_work
      io_uring: add generic callback_head helpers
      io_uring: fix concurrent parking
      io_uring: halt SQO submission on ctx exit
      io_uring: replace sqd rw_semaphore with mutex
      io_uring: fix complete_post use ctx after free
      io_uring: fix ->flags races by linked timeouts
      io_uring: convert io_buffer_idr to XArray
      io_uring: allow IO worker threads to be frozen
      kernel: freezer should treat PF_IO_WORKER like PF_KTHREAD for freezing
    0ada2dad
fork.c 75.3 KB