Re: [PATCH v2] workqueue: make sysfs of unbound kworker cpumask more clever

From: Tejun Heo
Date: Tue Oct 19 2021 - 14:38:49 EST


On Sun, Oct 17, 2021 at 08:04:02PM +0800, menglong8.dong@xxxxxxxxx wrote:
> From: Menglong Dong <imagedong@xxxxxxxxxxx>
>
> Some unfriendly component, such as dpdk, write the same mask to
> unbound kworker cpumask again and again. Every time it write to
> this interface some work is queue to cpu, even though the mask
> is same with the original mask.
>
> So, fix it by return success and do nothing if the cpumask is
> equal with the old one.
>
> Signed-off-by: Mengen Sun <mengensun@xxxxxxxxxxx>
> Signed-off-by: Menglong Dong <imagedong@xxxxxxxxxxx>

Applied to wq/for-5.16.

Thanks.

--
tejun