Skip to content

MM_CID and HPCC mm_struct static init fixes

Mathieu Desnoyers linux-mm lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5mm: Add missing static initializer for init_mm::mm_cid.lockmm/init-mm.c+3 -00 replies
2/5mm: Rename cpu_bitmap field to flexible_arraydrivers/firmware/efi/efi.c include/linux/mm.h include/linux/mm_types.h +1 more+12 -70 replies
3/5mm: Take into account mm_cid size for mm_struct static definitionsinclude/linux/mm_types.h+5 -20 replies
4/5mm: Take into account hierarchical percpu tree items for static mm_struct definitionsinclude/linux/mm_types.h include/linux/percpu_counter_tree.h+54 -30 replies
5/5tsacct: Skip all kernel threadskernel/tsacct.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/5] MM_CID and HPCC mm_struct static init fixes

Hi Andrew,

Mark Brown reported a regression [1] on linux next due to the hierarchical percpu counters (HPCC). You mentioned they were only in mm-new (and therefore not pulled into -next) [2], but it looks like they got more exposure that we expected. :)

This bug hunting got me to fix static initialization issues in both MM_CID (for upstream) and HPCC (mm-new). Mark tested my series and confirmed that it fixes his issues.

Please consider the HPCC fixes for mm-new, and the MM_CID fixes for upstream.

This series is based on mm-new
commit 287373d0b6ee ("selftests/mm: fix comment for check_test_requirements")

Thanks,

Mathieu

Mathieu Desnoyers (5):
mm: Add missing static initializer for init_mm::mm_cid.lock
mm: Rename cpu_bitmap field to flexible_array
mm: Take into account mm_cid size for mm_struct static definitions
mm: Take into account hierarchical percpu tree items for static
mm_struct definitions
tsacct: Skip all kernel threads

 drivers/firmware/efi/efi.c          |  2 +-
 include/linux/mm.h                  |  2 +-
 include/linux/mm_types.h            | 18 +++++++---
 include/linux/percpu_counter_tree.h | 51 +++++++++++++++++++++++++++++
 kernel/tsacct.c                     |  2 +-
 mm/init-mm.c                        |  5 ++-
 6 files changed, 71 insertions(+), 9 deletions(-)
Signature · 1 line
2.39.5