diff options
author | Menglong Dong <imagedong@tencent.com> | 2021-10-17 20:04:02 +0800 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2021-10-19 08:38:31 -1000 |
commit | d25302e46592c97d29f70ccb1be558df31a9a360 (patch) | |
tree | f936e327b38c43fe9f7652eade89799c3a69a948 /kernel/power | |
parent | d9abdee5fd5abffd0e763e52fbfa3116de167822 (diff) |
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: Mengen Sun <mengensun@tencent.com>
Signed-off-by: Menglong Dong <imagedong@tencent.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/power')
0 files changed, 0 insertions, 0 deletions