Re: [PATCH 5.12 0/2] Restore sq_thread 5.11 behavior

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

 



On 3/7/21 3:54 AM, Stefan Metzmacher wrote:
> Hi Jens,
> 
> I guess on top of your "io-wq: always track creds for async issue"
> we want to following to patches in order to restore the sq_thread
> behavior of 5.11 (and older) with IORING_SETUP_ATTACH_WQ.
> 
> - io_uring: run __io_sq_thread() with the initial creds
> - io_uring: kill io_sq_thread_fork() and return -EOWNERDEAD
> - io_
> I've not tested them, but they compile and as far as I read the
> 5.11 code, they should restore the old behavior.

Thanks this looks good, I'll apply them. There's really no point
to the fork handling of SQPOLL anymore, since the unshare code
went away.

-- 
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