summaryrefslogtreecommitdiff
path: root/kernel/crash_core.c
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2023-07-04 15:03:52 +0300
committerTejun Heo <tj@kernel.org>2023-07-10 23:26:06 +0300
commit48f074565bb7eaa9ae502b2b2d423b1e50325e1b (patch)
treebf90c7270b0a94abf6901bcf354d747b32166018 /kernel/crash_core.c
parenta453be9725a1aa3f602f5b4c66eefd1fb4ba7c44 (diff)
downloadlinux-48f074565bb7eaa9ae502b2b2d423b1e50325e1b.tar.xz
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 'kernel/crash_core.c')
0 files changed, 0 insertions, 0 deletions