SLUB: calculate_order() cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | mm/slub: simplify the last resort slab order calculationmm/ | +1 | 3 replies | |
| 2/4 | mm/slub: remove min_objects loop from calculate_order()mm/ | +18 | 0 replies | |
| 3/4 | mm/slub: attempt to find layouts up to 1/2 waste in calculate_order()mm/ | +4 | 1 reply | |
| 4/4 | mm/slub: refactor calculate_order() and calc_slab_order()mm/ | +9 | 6 replies |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Feng Tang | Jay Patel |
|---|---|---|
| Series | T-b | |
| 1/4 | ||
| 2/4 | ||
| 3/4 | R-b | |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] SLUB: calculate_order() cleanups
Since reviewing recent patches made me finally dig into these functions in details for the first time, I've also noticed some opportunities for cleanups that should make them simpler and also deliver more consistent results for some corner case object sizes (probably not seen in practice). Thus patch 3 can increase slab orders somewhere, but only in the way that was already intended. Otherwise it's almost no functional changes.
Vlastimil Babka (4):
mm/slub: simplify the last resort slab order calculation mm/slub: remove min_objects loop from calculate_order() mm/slub: attempt to find layouts up to 1/2 waste in calculate_order() mm/slub: refactor calculate_order() and calc_slab_order()
mm/slub.c | 63 ++++++++++++++++++++++++------------------------------- 1 file changed, 27 insertions(+), 36 deletions(-)
Signature · 1 line
2.42.0