Various load-balance cleanups/optimizations -v2
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 36 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | sched: Remove one division operation in find_busiest_queue()kernel/ | +4 | 2 replies | |
| 2/10 | sched: Factor out code to should_we_balance()kernel/ | +54 | 4 replies | |
| 3/10 | sched: Clean-up struct sd_lb_statkernel/ | +112 | 5 replies | |
| 4/10 | sched, fair: Shrink sg_lb_stats and play memset gameskernel/ | +35 | 6 replies | |
| 5/10 | sched, fair: Remove duplicate load_per_task computationskernel/ | +2 | 0 replies | |
| 6/10 | sched, fair: Make group power more consitentkernel/ | +26 | 1 reply | |
| 7/10 | sched, fair: Optimize find_busiest_queue()kernel/ | +1 | 6 replies | |
| 8/10 | sched, fair: Rework and comment the group_imb codekernel/ | +89 | 0 replies | |
| 9/10 | sched, fair: Fix the sd_parent_degenerate() codekernel/ | +9 | 4 replies | |
| 10/10 | sched, fair: Rewrite group_imb triggerkernel/ kernel/ | +31 | 0 replies |
Reviews trailers per patch
5 of 10 patches have a Reviewed-by or Acked-by.
| Patch | Paul Turner | Preeti U Murthy |
|---|---|---|
| 1/10 | ||
| 2/10 | R-b | |
| 3/10 | R-b | |
| 4/10 | ||
| 5/10 | ||
| 6/10 | R-b | |
| 7/10 | R-b | R-b |
| 8/10 | ||
| 9/10 | R-b | |
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/10] Various load-balance cleanups/optimizations -v2
After poking at them a little more I feel somewhat more confident.
I found one more bug, but this one was my own fault, we should also clear sds->busiest_stat.avg_load because update_sd_pick_busiest() reads that before we set it.
Moved the memset optimization and the fix for that into a separate patch.
Other than that, there's a sched_domain degenerate fix; and a new way to detect group_imb (which relies on the sched_domain fix).