Re: [PATCH for-next] io_uring: remove ctx referencing from complete_post

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

 



On 9/15/21 2:00 PM, Hao Xu wrote:
> 在 2021/9/15 下午7:04, Pavel Begunkov 写道:
>> Now completions are done from task context, that means that it's either
>> the task itself, task_work or io-wq worker. In all those cases the ctx
> system-wq as well, not sure if that matters.

Yep, missed in the description.
fwiw, io_fallback_req_func() explicitly pins ctx.


>> will be staying alive by mutexing, explicit referencing or req
>> references by iowq. Remove extra ctx pinning from
>> io_req_complete_post().

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