diff options
author | 2023-07-04 20:03:52 +0800 | |
---|---|---|
committer | 2023-07-10 10:26:06 -1000 | |
commit | 48f074565bb7eaa9ae502b2b2d423b1e50325e1b (patch) | |
tree | bf90c7270b0a94abf6901bcf354d747b32166018 /scripts/bpf_doc.py | |
parent | cgroup/cpuset: simplify the percpu kthreads check in update_tasks_cpumask() (diff) | |
download | linux-rng-48f074565bb7eaa9ae502b2b2d423b1e50325e1b.tar.xz linux-rng-48f074565bb7eaa9ae502b2b2d423b1e50325e1b.zip |
cgroup/cpuset: avoid unneeded cpuset_mutex re-lock
cpuset_mutex unlock and lock pair is only needed when transferring tasks
out of empty cpuset. Avoid unneeded cpuset_mutex re-lock when !is_empty
to save cpu cycles.
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions