Re: [PATCH] io-wq: fix 'task->pi_lock' spin lock protect

From: Jens Axboe
Date: Fri Oct 23 2020 - 09:23:22 EST


On 10/23/20 12:20 AM, qiang.zhang@xxxxxxxxxxxxx wrote:
> From: Zqiang <qiang.zhang@xxxxxxxxxxxxx>
>
> The set CPU affinity func 'do_set_cpus_allowed' may be operate
> 'task_rq', need add rq lock protect, replace 'pi_lock' spinlock
> protect with task_rq_lock func.

Thanks, I'm going to fold this one.

--
Jens Axboe