Acquire sched_balance_running only when needed
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | sched/fair: Skip sched_balance_running cmpxchg when balance is not duekernel/ | +28 | 0 replies | |
| 2/2 | sched/fair: Have SD_SERIALIZE affect newidle balancingkernel/ | +1 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Chen Yu | Vincent Guittot | Shrikanth Hegde | K Prateek Nayak | Srikar Dronamraju | Mohini Narkhede |
|---|---|---|---|---|---|---|
| 1/2 | R-b | R-b | R-b T-b | R-b | R-b | T-b |
| 2/2 | Seconded-by |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.
Cover letter [PATCH 6.18 0/2] Acquire sched_balance_running only when needed
Balancing sched domains NUMA and above are serialized.
Currently, multiple sched group leader directly under NUMA domain could attempt to acquire the global sched_balance_running flag via cmpxchg() before checking whether load balancing is due. Fix unnecessary sched_balance_running acquisition and also put newidle balance properly in serialization. This improves performance for OLTP workload on large core count machines.
These patches have been merged upstream.
Thanks.
Tim
Peter Zijlstra (1):
sched/fair: Have SD_SERIALIZE affect newidle balancing
Tim Chen (1):
sched/fair: Skip sched_balance_running cmpxchg when balance is not due
kernel/sched/fair.c | 54 +++++++++++++++++++++++---------------------- 1 file changed, 28 insertions(+), 26 deletions(-)
Signature · 1 line
2.32.0