summaryrefslogtreecommitdiff
path: root/kernel/cgroup/cgroup.c
diff options
context:
space:
mode:
authorWaiman Long <longman@redhat.com>2024-06-03 15:38:22 -0400
committerTejun Heo <tj@kernel.org>2024-06-03 09:47:11 -1000
commit1805c1729f52edaa021288473b09f9c7f74fb1ca (patch)
tree7b3572a78be0e3af4df570c58d36f67bbd0c2c75 /kernel/cgroup/cgroup.c
parent018ee567def3b43f810aebf15221eef3858177b2 (diff)
cgroup/cpuset: Optimize isolated partition only generate_sched_domains() calls
If only isolated partitions are being created underneath the cgroup root, there will only be one sched domain with top_cpuset.effective_cpus. We can skip the unnecessary sched domains scanning code and save some cycles. Signed-off-by: Waiman Long <longman@redhat.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/cgroup/cgroup.c')
0 files changed, 0 insertions, 0 deletions