Thread (16 messages) 16 messages, 5 authors, 2026-01-12

Re: [PATCH v12 0/3] mm: Fix OOM killer inaccuracy on large many-core systems

From: Andrew Morton <akpm@linux-foundation.org>
Date: 2026-01-11 17:48:25
Also in: linux-mm, lkml

On Sun, 11 Jan 2026 10:02:46 -0500 Mathieu Desnoyers [off-list ref] wrote:
Introduce hierarchical per-cpu counters and use them for RSS tracking to
fix the per-mm RSS tracking which has become too inaccurate for OOM
killer purposes on large many-core systems.
Great, thanks.
Notable changes for v12:

- Reduce per-CPU counters memory allocation size to sizeof long
  (fixing mixup with sizeof intermediate cache line aligned items).
- Use "long" counters types rather than "int".
- get_mm_counter_sum() returns a precise sum.
- Introduce and use functions to calculate the min/max possible precise
  sum values associated with an approximate sum.
May I ask, as an early adopter, what is your overall impression of
the Gemini reviewbot?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help