Skip to content

Cleanup and optimization patches for percpu

Baoquan He linux-mm lkml 1 version Applied

Status from this message: I've applied patches 1-7 to for-6.2.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 17 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/8mm/percpu: remove unused pcpu_map_extend_chunksmm/percpu.c+0 -31 reply
2/8mm/percpu: use list_first_entry_or_null in pcpu_reclaim_populated()mm/percpu.c+3 -32 replies
3/8mm/percpu: Update the code comment when creating new chunkmm/percpu.c+1 -51 reply
4/8mm/percpu: add comment to state the empty populated pages accountingmm/percpu.c+11 -33 replies
5/8mm/percpu: replace the goto with breakmm/percpu.c+1 -21 reply
6/8mm/percpu.c: remove the lcm code since block size is fixed at page sizemm/percpu.c+2 -101 reply
7/8mm/percpu: remove unused PERCPU_DYNAMIC_EARLY_SLOTSinclude/linux/percpu.h+3 -41 reply
8/8mm/slub, percpu: correct the calculation of early percpu allocation sizemm/slub.c+2 -16 replies

Reviews trailers per patch

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

PatchHyeonggon YooDennis Zhou
1/8A-b
2/8A-b A-b
3/8A-b
4/8A-b
5/8A-b
6/8A-b
7/8A-b
8/8A-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/8] Cleanup and optimization patches for percpu

These were found out when reading percpu code, and queued in my local branch for long time. Send them out for reviewing.

Baoquan He (8):
mm/percpu: remove unused pcpu_map_extend_chunks mm/percpu: use list_first_entry_or_null in pcpu_reclaim_populated() mm/percpu: Update the code comment when creating new chunk mm/percpu: add comment to state the empty populated pages accounting mm/percpu: replace the goto with break
mm/percpu.c: remove the lcm code since block size is fixed at page
size
mm/percpu: remove unused PERCPU_DYNAMIC_EARLY_SLOTS mm/slub, percpu: correct the calculation of early percpu allocation
size

 include/linux/percpu.h |  7 +++----
 mm/percpu.c            | 44 +++++++++++++++++-------------------------
 mm/slub.c              |  3 ++-
 3 files changed, 23 insertions(+), 31 deletions(-)
Signature · 1 line
2.34.1