Thread (5 messages) flat view 5 messages, 2 authors, 2025-12-19

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

From: Mark Brown <broonie@kernel.org>
Date: 2025-12-19 09:31:19
Also in: linux-mm, lkml

On Thu, Dec 18, 2025 at 05:18:04PM -0500, Mathieu Desnoyers wrote:
On 2025-12-18 13:00, Mark Brown wrote:
An ugly work-around that may work (and then we can improve on this),
at the end of mm/init-mm.c:init_mm (completely untested):
       .cpu_bitmap     = { [0 ... ((3*BITS_TO_LONGS(NR_CPUS))-1 + ((69905 * NR_MM_COUNTERS * 64) / BYTES_PER_LONG))] = 0UL },
That doesn't seem to fix the FVP unfortunately (BYTES_PER_LONG doesn't
exist, but even just deleting the division entirely fails in the same
way).

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help