Skip to content

Recalculate per-cpu page allocator batch and high limits after deferred meminit

Mel Gorman linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mm, pcp: Share common code between memory hotplug and percpu sysctl handlermm/page_alloc.c+12 -112 replies
2/3mm, meminit: Recalculate pcpu batch and high limits after init completesmm/page_alloc.c+8 -25 replies
3/3mm, pcpu: Make zone pcp updates and reset internal to the mminclude/linux/mm.h mm/internal.h+3 -32 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchMatt FlemingMichal Hocko
1/3T-b A-b
2/3T-b T-b A-b A-b
3/3T-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Recalculate per-cpu page allocator batch and high limits after deferred meminit

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 mostly cosmetic but prepares for patch 2 which is the real fix. Patch 3 is definiely cosmetic but was noticed while implementing the fix. Proper details are in the changelog for patch 2.

 include/linux/mm.h |  3 ---
 mm/internal.h      |  3 +++
 mm/page_alloc.c    | 33 ++++++++++++++++++++-------------
 3 files changed, 23 insertions(+), 16 deletions(-)
Signature · 1 line
2.16.4