Re: [RFC net-next v3 1/1] io_uring: fix deadlock on iowq file slot alloc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/1/22 8:28 AM, Pavel Begunkov wrote:
> io_fixed_fd_install() can grab uring_lock in the slot allocation path
> when called from io-wq, and then call into io_install_fixed_file(),
> which will lock it again. Pull all locking out of
> io_install_fixed_file() into io_fixed_fd_install().

Subject was a little funky for this one, and I had to hand-apply it
since the base was missing that fput fix.

Can you check the end result:

https://git.kernel.dk/cgit/linux-block/commit/?h=io_uring-5.19&id=61c1b44a21d70d4783db02198fbf68b132f4953c

-- 
Jens Axboe




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux