aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2021-07-30 12:24:31 +0100
committerPeter Zijlstra <peterz@infradead.org>2021-08-20 12:32:59 +0200
commit97c0054dbe2c3c59d1156fd233f2d44e91981c8e (patch)
treefe236eb64fc7760d430b8b2272ffb10f222efa79 /tools/perf/scripts/python/export-to-sqlite.py
parent431c69fac05baa7477d61a44f2708e069f2bed6c (diff)
cpuset: Cleanup cpuset_cpus_allowed_fallback() use in select_fallback_rq()
select_fallback_rq() only needs to recheck for an allowed CPU if the affinity mask of the task has changed since the last check. Return a 'bool' from cpuset_cpus_allowed_fallback() to indicate whether the affinity mask was updated, and use this to elide the allowed check when the mask has been left alone. No functional change. Suggested-by: Valentin Schneider <valentin.schneider@arm.com> Signed-off-by: Will Deacon <will@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Valentin Schneider <valentin.schneider@arm.com> Link: https://lore.kernel.org/r/20210730112443.23245-5-will@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions