Recalculate per-cpu page allocator batch and high limits after deferred meminit v2
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 8 repliesIn review
Changelog since V1 from the cover letter
o Fix a "might sleep" warning
o Reorder for easier backporting
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mm, meminit: Recalculate pcpu batch and high limits after init completesmm/ | +8 | 7 replies | |
| 2/3 | mm, pcp: Share common code between memory hotplug and percpu sysctl handlermm/ | +12 | 1 reply | |
| 3/3 | mm, pcpu: Make zone pcp updates and reset internal to the mminclude/ mm/ | +3 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Michal Hocko | Vlastimil Babka |
|---|---|---|
| 1/3 | A-b | A-b |
| 2/3 | A-b | A-b |
| 3/3 | A-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] Recalculate per-cpu page allocator batch and high limits after deferred meminit v2
This is an updated series that addresses some review feedback and an LKP warning. I did not preserve Michal Hocko's ack for the fix as it has changed. This series replaces the following patches in mmotm
mm-pcp-share-common-code-between-memory-hotplug-and-percpu-sysctl-handler.patch mm-meminit-recalculate-pcpu-batch-and-high-limits-after-init-completes.patch mm-pcpu-make-zone-pcp-updates-and-reset-internal-to-the-mm.patch
Changelog since V1
o Fix a "might sleep" warning
o Reorder for easier backporting
A private report stated that system CPU usage was excessive on an AMD EPYC 2 machine while building kernels with much longer build times than expected. The issue is partially explained by high zone lock contention due to the per-cpu page allocator batch and high limits being calculated incorrectly. This series addresses a large chunk of the problem. Patch 1 is the real fix and the other two are cosmetic issues noticed while implementing the fix.
include/linux/mm.h | 3 --- mm/internal.h | 3 +++ mm/page_alloc.c | 31 ++++++++++++++++++++----------- 3 files changed, 23 insertions(+), 14 deletions(-)
Signature · 1 line
2.16.4