Re: [PATCH v21 0/6] Hierarchical Percpu Counters for RSS

From: Shakeel Butt

Date: Thu Sep 03 2026 - 13:49:06 EST


On Tue, Sep 01, 2026 at 02:28:45PM -0400, Mathieu Desnoyers wrote:
> Hi Andrew,
>
> Here is the hierarchical percpu counters for RSS accounting series
> rebased on top of v7.3-rc1. It includes small bootup fixes which were
> needed to fix bootup sequence on specific architectures, and a rename of
> the test config option to include "KUNIT_".
>
> This aims at replacing the prior version of the series you had
> in mm.
>
> As a reminder, the goal here is to provide more precise RSS counters
> through /proc. A future step would be to also use these counters to
> speed up the OOM killer task selection when OOM is triggered by
> memcg. In whole-machine OOM situations, latency introduced by the
> OOM killer task selection may not be too much of an issue, but for
> memcg, where cgroups may routinely depend on the OOM killer, the
> acceptable latency tradeoff is quite different.
>

Hi Mathieu, can you please comment on the Sashiko's findings [1]?
Worth addressing or not?

[1] https://sashiko.dev/#/patchset/20260901182857.26690-1-mathieu.desnoyers%40efficios.com