summaryrefslogtreecommitdiff
path: root/security/tomoyo
diff options
context:
space:
mode:
authorChengming Zhou <zhouchengming@bytedance.com>2022-08-26 00:41:02 +0800
committerPeter Zijlstra <peterz@infradead.org>2022-09-09 11:08:30 +0200
commitc530a3c716b963625e43aa915e0de6b4d1ce8ad9 (patch)
tree36178fdc2e2b651e20ba30085becd55da0ed31f7 /security/tomoyo
parent0fb7b6f9d367965a8c2497c4d437dd225193b0f6 (diff)
sched/psi: Fix periodic aggregation shut off
We don't want to wake periodic aggregation work back up if the task change is the aggregation worker itself going to sleep, or we'll ping-pong forever. Previously, we would use psi_task_change() in psi_dequeue() when task going to sleep, so this check was put in psi_task_change(). But commit 4117cebf1a9f ("psi: Optimize task switch inside shared cgroups") defer task sleep handling to psi_task_switch(), won't go through psi_task_change() anymore. So this patch move this check to psi_task_switch(). Fixes: 4117cebf1a9f ("psi: Optimize task switch inside shared cgroups") 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/20220825164111.29534-2-zhouchengming@bytedance.com
Diffstat (limited to 'security/tomoyo')
0 files changed, 0 insertions, 0 deletions