diff options
author | Chengming Zhou <[email protected]> | 2022-09-26 16:19:31 +0800 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2022-10-30 10:12:15 +0100 |
commit | 52b33d87b9197c51e8ffdc61873739d90dd0a16f (patch) | |
tree | 392b655b87d75cce109258c3adc5f8157dea366b /scripts/generate_rust_analyzer.py | |
parent | 710ffe671e014d5ccbcff225130a178b088ef090 (diff) |
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 <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions