diff options
| author | Peter Zijlstra <peterz@infradead.org> | 2025-11-12 16:08:23 +0100 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2025-12-14 08:25:02 +0100 |
| commit | 45e09225085f70b856b7b9f26a18ea767a7e1563 (patch) | |
| tree | 4ee995ac737ae4ad00388fa86ab62fd88b16e053 /include/uapi/linux/hsi | |
| parent | 089d84203ad42bc8fd6dbf41683e162ac6e848cd (diff) | |
sched/fair: Avoid rq->lock bouncing in sched_balance_newidle()
While poking at this code recently I noted we do a pointless
unlock+lock cycle in sched_balance_newidle(). We drop the rq->lock (so
we can balance) but then instantly grab the same rq->lock again in
sched_balance_update_blocked_averages().
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://patch.msgid.link/20251127154725.532469061@infradead.org
Diffstat (limited to 'include/uapi/linux/hsi')
0 files changed, 0 insertions, 0 deletions
