linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/5] MM_CID and HPCC mm_struct static init fixes
@ 2025-12-21 23:29 Mathieu Desnoyers
  2025-12-21 23:29 ` [PATCH v1 1/5] mm: Add missing static initializer for init_mm::mm_cid.lock Mathieu Desnoyers
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Mathieu Desnoyers @ 2025-12-21 23:29 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, Mathieu Desnoyers, Mark Brown, linux-mm

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

Link: https://lore.kernel.org/lkml/c8acf650-ef96-4449-ba85-557dedba0ffc@sirena.org.uk/ # [1]
Link: https://lore.kernel.org/lkml/20251122111336.56b060c86ff6ba41fe76bfd4@linux-foundation.org/ [2]
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Mark Brown <broonie@kernel.org>
Cc: linux-mm@kvack.org

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(-)

-- 
2.39.5


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-12-24 16:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-21 23:29 [PATCH v1 0/5] MM_CID and HPCC mm_struct static init fixes Mathieu Desnoyers
2025-12-21 23:29 ` [PATCH v1 1/5] mm: Add missing static initializer for init_mm::mm_cid.lock Mathieu Desnoyers
2025-12-21 23:29 ` [PATCH v1 2/5] mm: Rename cpu_bitmap field to flexible_array Mathieu Desnoyers
2025-12-21 23:29 ` [PATCH v1 3/5] mm: Take into account mm_cid size for mm_struct static definitions Mathieu Desnoyers
2025-12-21 23:29 ` [PATCH v1 4/5] mm: Take into account hierarchical percpu tree items for static mm_struct definitions Mathieu Desnoyers
2025-12-21 23:29 ` [PATCH v1 5/5] tsacct: Skip all kernel threads Mathieu Desnoyers
2025-12-23  1:59 ` [PATCH v1 0/5] MM_CID and HPCC mm_struct static init fixes Andrew Morton
2025-12-24 16:37   ` Mathieu Desnoyers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox