]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
sched/fair: Small cleanup to update_newidle_cost()
authorPeter Zijlstra <peterz@infradead.org>
Fri, 7 Nov 2025 16:01:27 +0000 (17:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 11 Jan 2026 14:26:19 +0000 (15:26 +0100)
commitd4ffb9ce8e6501bebbf833cd7ae3f34eab1f76ba
tree5aad5b9a27b36527629cd7d5013220e0f7d108c5
parentc7ca7e0ff6f0f55ef57c1596286076492f199f9a
sched/fair: Small cleanup to update_newidle_cost()

commit 08d473dd8718e4a4d698b1113a14a40ad64a909b upstream.

Simplify code by adding a few variables.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Tested-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Tested-by: Chris Mason <clm@meta.com>
Link: https://patch.msgid.link/20251107161739.655208666@infradead.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/sched/fair.c