Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Lorenzo Stoakes (ARM)" <ljs@kernel.org>
To: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	 linux-kernel@vger.kernel.org,
	"Paul E. McKenney" <paulmck@kernel.org>,
	 Steven Rostedt <rostedt@goodmis.org>,
	Masami Hiramatsu <mhiramat@kernel.org>,
	 Dennis Zhou <dennis@kernel.org>, Tejun Heo <tj@kernel.org>,
	Christoph Lameter <cl@linux.com>,
	 Martin Liu <liumartin@google.com>,
	David Rientjes <rientjes@google.com>,
	christian.koenig@amd.com,  Shakeel Butt <shakeel.butt@linux.dev>,
	SeongJae Park <sj@kernel.org>, Michal Hocko <mhocko@suse.com>,
	 Johannes Weiner <hannes@cmpxchg.org>,
	Sweet Tea Dorminy <sweettea-kernel@dorminy.me>,
	 "Liam R . Howlett" <liam.howlett@oracle.com>,
	Mike Rapoport <rppt@kernel.org>,
	 Suren Baghdasaryan <surenb@google.com>,
	Vlastimil Babka <vbabka@suse.cz>,
	 Christian Brauner <brauner@kernel.org>,
	Wei Yang <richard.weiyang@gmail.com>,
	 David Hildenbrand <david@redhat.com>,
	Miaohe Lin <linmiaohe@huawei.com>,
	 Al Viro <viro@zeniv.linux.org.uk>, Yu Zhao <yuzhao@google.com>,
	 Roman Gushchin <roman.gushchin@linux.dev>,
	Mateusz Guzik <mjguzik@gmail.com>,
	 Matthew Wilcox <willy@infradead.org>,
	Baolin Wang <baolin.wang@linux.alibaba.com>,
	 Aboorva Devarajan <aboorvad@linux.ibm.com>,
	David Carlier <devnexen@gmail.com>,
	 Josh Law <objecting@objecting.org>,
	linux-mm <linux-mm@kvack.org>
Subject: Re: [PATCH v20 0/6] Hierarchical Percpu Counters for RSS
Date: Thu, 6 Aug 2026 07:25:57 +0100	[thread overview]
Message-ID: <anQoW3dG-97i9lUc@lucifer> (raw)
In-Reply-To: <0393072a-3950-461b-929e-154001ea4595@efficios.com>

On Wed, Aug 05, 2026 at 03:03:39PM -0400, Mathieu Desnoyers wrote:
> On 2026-08-05 14:57, Andrew Morton wrote:
> > On Wed, 5 Aug 2026 14:37:08 -0400 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> wrote:
> >
> > > On 2026-07-23 13:53, Mathieu Desnoyers wrote:
> > > > On 2026-07-07 09:15, Mathieu Desnoyers wrote:
> > > > > Hi Andrew,
> > > > >
> > > > > Here is the hierarchical percpu counters series rebased on top of
> > > > > v7.2-rc2. 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.
> > > >
> > > > Hello,
> > > >
> > > > Just a gentle ping for feedback whenever it's convenient.
> > >
> > > Hi Andrew,
> > >
> > > Can you pick this up after the upcoming merge window ?
> >
> > Resending after -rc1 would be appropriate.
>
> Will do, thanks!
>
> >
> > > That's of course assuming this is solving an issue which is
> > > still relevant.
> > >
> > > If there is no interest in solving this issue anymore, kindly
> > > let me know and I'll drop this series.
> >
> > This was 1000-2000 patches ago so I've forgotten what the issue was!
> > Please ensure that changelogging describes the issue in glorious
> > detail and I'm sure it'll all come back.
>
> Certainly. For the immediate records, the issue addressed by this series
> is RSS stats inaccuracy when reading /proc files on large SMP boxes. It
> gets increasingly worse for long-lifetime processes which jump around
> various cores while allocating/freeing memory over their lifetime.
>
> And once we get this in, it would be relevant to use this infrastructure
> to address the tail latency of memcg oom killer, which AFAIU is now a
> scan in the order of num_possible_cpus * nb processes. Although not so
> bad when the OOM killer fires due to a machine memory use ballooning out
> of proportions, it's rather inconvenient to cause large latencies when
> it's used to apply the mem cgroup limits, which is a rather more common
> routine scenario nowadays.

Perhaps Shakeel might have an interest from the memcg side here? :)

Also similarly Johannes and Michal/Roman too perhaps?

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

--
Cheers, Lorenzo


      reply	other threads:[~2026-08-06  6:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20260707131544.75906-1-mathieu.desnoyers@efficios.com>
2026-07-23 17:53 ` [PATCH v20 0/6] Hierarchical Percpu Counters for RSS Mathieu Desnoyers
2026-08-05 18:37   ` Mathieu Desnoyers
2026-08-05 18:57     ` Andrew Morton
2026-08-05 19:03       ` Mathieu Desnoyers
2026-08-06  6:25         ` Lorenzo Stoakes (ARM) [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=anQoW3dG-97i9lUc@lucifer \
    --to=ljs@kernel.org \
    --cc=aboorvad@linux.ibm.com \
    --cc=akpm@linux-foundation.org \
    --cc=baolin.wang@linux.alibaba.com \
    --cc=brauner@kernel.org \
    --cc=christian.koenig@amd.com \
    --cc=cl@linux.com \
    --cc=david@redhat.com \
    --cc=dennis@kernel.org \
    --cc=devnexen@gmail.com \
    --cc=hannes@cmpxchg.org \
    --cc=liam.howlett@oracle.com \
    --cc=linmiaohe@huawei.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=liumartin@google.com \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=mhiramat@kernel.org \
    --cc=mhocko@suse.com \
    --cc=mjguzik@gmail.com \
    --cc=objecting@objecting.org \
    --cc=paulmck@kernel.org \
    --cc=richard.weiyang@gmail.com \
    --cc=rientjes@google.com \
    --cc=roman.gushchin@linux.dev \
    --cc=rostedt@goodmis.org \
    --cc=rppt@kernel.org \
    --cc=shakeel.butt@linux.dev \
    --cc=sj@kernel.org \
    --cc=surenb@google.com \
    --cc=sweettea-kernel@dorminy.me \
    --cc=tj@kernel.org \
    --cc=vbabka@suse.cz \
    --cc=viro@zeniv.linux.org.uk \
    --cc=willy@infradead.org \
    --cc=yuzhao@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox