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