summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorChengming Zhou <zhouchengming@bytedance.com>2022-09-26 11:19:31 +0300
committerPeter Zijlstra <peterz@infradead.org>2022-10-30 12:12:15 +0300
commit52b33d87b9197c51e8ffdc61873739d90dd0a16f (patch)
tree392b655b87d75cce109258c3adc5f8157dea366b /tools/perf/scripts/python/exported-sql-viewer.py
parent710ffe671e014d5ccbcff225130a178b088ef090 (diff)
downloadlinux-52b33d87b9197c51e8ffdc61873739d90dd0a16f.tar.xz
sched/psi: Use task->psi_flags to clear in CPU migration
The commit d583d360a620 ("psi: Fix psi state corruption when schedule() races with cgroup move") fixed a race problem by making cgroup_move_task() use task->psi_flags instead of looking at the scheduler state. We can extend task->psi_flags usage to CPU migration, which should be a minor optimization for performance and code simplicity. Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Johannes Weiner <hannes@cmpxchg.org> Link: https://lore.kernel.org/r/20220926081931.45420-1-zhouchengming@bytedance.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions