Commit d4ffb9c
sched/fair: Small cleanup to update_newidle_cost()
commit 08d473d upstream.
Simplify code by adding a few variables.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Dietmar Eggemann <[email protected]>
Tested-by: Dietmar Eggemann <[email protected]>
Tested-by: Chris Mason <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent c7ca7e0 commit d4ffb9c
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12124 | 12124 | | |
12125 | 12125 | | |
12126 | 12126 | | |
| 12127 | + | |
| 12128 | + | |
| 12129 | + | |
12127 | 12130 | | |
12128 | 12131 | | |
12129 | 12132 | | |
12130 | 12133 | | |
12131 | 12134 | | |
12132 | 12135 | | |
12133 | | - | |
12134 | | - | |
| 12136 | + | |
| 12137 | + | |
| 12138 | + | |
12135 | 12139 | | |
12136 | 12140 | | |
12137 | 12141 | | |
12138 | 12142 | | |
12139 | 12143 | | |
12140 | 12144 | | |
12141 | | - | |
12142 | | - | |
| 12145 | + | |
12143 | 12146 | | |
12144 | 12147 | | |
12145 | 12148 | | |
| |||
0 commit comments