Re: [PATCH v1 1/1] mm: Fix OOM killer and proc stats inaccuracy on large many-core systems

From: Mathieu Desnoyers

Date: Wed Jan 14 2026 - 09:57:11 EST


On 2026-01-13 22:18, Baolin Wang wrote:


I'm not against this patch. However, I’m concerned that it may affect not only the rest of the proc files, but also fork(), which calls get_mm_rss(). At least we should evaluate its impact on fork()?

It's fixed in v2. I'm introducing get_mm_rss_sum() specifically for
the oom killer.

Thanks,

Mathieu

--
Mathieu Desnoyers
EfficiOS Inc.
https://www.efficios.com