diff options
| author | Waiman Long <longman@redhat.com> | 2024-04-23 21:00:20 -0400 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2024-04-23 17:31:18 -1000 |
| commit | 04d63da4da53e6064683f4970d34ce997f9daee3 (patch) | |
| tree | dff497d03e8e739fb9a00a7a139c0b0ef2b6560d /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | cgroup/cpuset: Avoid clearing CS_SCHED_LOAD_BALANCE twice (diff) | |
| download | linux-04d63da4da53e6064683f4970d34ce997f9daee3.tar.gz linux-04d63da4da53e6064683f4970d34ce997f9daee3.zip | |
cgroup/cpuset: Fix incorrect top_cpuset flags
Commit 8996f93fc388 ("cgroup/cpuset: Statically initialize more
members of top_cpuset") uses an incorrect "<" relational operator for
the CS_SCHED_LOAD_BALANCE bit when initializing the top_cpuset. This
results in load_balancing turned off by default in the top cpuset which
is bad for performance.
Fix this by using the BIT() helper macro to set the desired top_cpuset
flags and avoid similar mistake from being made in the future.
Fixes: 8996f93fc388 ("cgroup/cpuset: Statically initialize more members of top_cpuset")
Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
