summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAndrea Righi <arighi@nvidia.com>2025-01-04 12:00:09 +0300
committerTejun Heo <tj@kernel.org>2025-01-06 21:48:38 +0300
commitd9071ecb313940fe1d8827fef48bbf9fdaf28a4c (patch)
tree7f36ed983fe31c70978b80a7c988d00572664bde /tools/perf/scripts/python/exported-sql-viewer.py
parentc0cf3530098bc13578bd4d0692351a2c4a57425d (diff)
downloadlinux-d9071ecb313940fe1d8827fef48bbf9fdaf28a4c.tar.xz
sched_ext: idle: small CPU iteration refactoring
Replace the loop to check if all SMT CPUs are idle with cpumask_subset(). This simplifies the code and slightly improves efficiency, while preserving the original behavior. Note that idle_masks.smt handling remains racy, which is acceptable as it serves as an optimization and is self-correcting. Suggested-and-reviewed-by: Yury Norov <yury.norov@gmail.com> Signed-off-by: Andrea Righi <arighi@nvidia.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions