Re: [PATCH 5.15] io_uring: apply max_workers limit to all future users

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

 



On 10/20/21 09:52, Hao Xu wrote:
在 2021/10/20 上午6:43, Pavel Begunkov 写道:
Hi Pavel,
The ctx->iowq_limits_set limits the future ctx users, but not the past
ones, how about update the numbers for all the current ctx users here?
I know the number of workers that a current user uses may already
exceeds the newest limitation, but at least this will make it not to
grow any more, and may decrement it to the limitation some time later.

Indeed, that was the idea! Though it's a bit trickier, would need
ctx->tctx_list traversal, and before putting it in I wanted to take
a look at another problem related to ->tctx_list. I hope to get that
done asap for 5.15.

--
Pavel Begunkov



[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