Skip to content
Commit d25302e4 authored by Menglong Dong's avatar Menglong Dong Committed by Tejun Heo
Browse files

workqueue: make sysfs of unbound kworker cpumask more clever



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: default avatarMengen Sun <mengensun@tencent.com>
Signed-off-by: default avatarMenglong Dong <imagedong@tencent.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent d9abdee5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment