cgroups.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Michal Koutný" <mkoutny@suse.com>
To: cgroups@vger.kernel.org, linux-mm@kvack.org,
	 linux-kernel@vger.kernel.org
Cc: Martin Doucha <mdoucha@suse.cz>,
	Johannes Weiner <hannes@cmpxchg.org>,
	 Michal Hocko <mhocko@kernel.org>,
	Roman Gushchin <roman.gushchin@linux.dev>,
	 Shakeel Butt <shakeel.butt@linux.dev>,
	Muchun Song <muchun.song@linux.dev>,
	 Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [RFC PATCH] memcontrol: Wait for draining of remote stocks to avoid OOM when charging
Date: Thu, 12 Jun 2025 13:37:39 +0200	[thread overview]
Message-ID: <hpheex5rheykebhbh4qjqy4jirnrpqvnfahr75cn6p6ob6lo2x@mpdv2yrht2o4> (raw)
In-Reply-To: <20250530151858.672391-1-mkoutny@suse.com>

[-- Attachment #1: Type: text/plain, Size: 378 bytes --]

On Fri, May 30, 2025 at 05:18:57PM +0200, Michal Koutný <mkoutny@suse.com> wrote:
> 2) It requires specific scheduling over CPUs, so it may not be so common
>    and severe in practice.

This means in practice, there'd be likely a _different_ running memcg on
other CPUs and that would implicitly flush those stocks. I'm concluding
there's no big issue to fix.

Michal

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

      reply	other threads:[~2025-06-12 11:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-30 15:18 [RFC PATCH] memcontrol: Wait for draining of remote stocks to avoid OOM when charging Michal Koutný
2025-06-12 11:37 ` Michal Koutný [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=hpheex5rheykebhbh4qjqy4jirnrpqvnfahr75cn6p6ob6lo2x@mpdv2yrht2o4 \
    --to=mkoutny@suse.com \
    --cc=akpm@linux-foundation.org \
    --cc=cgroups@vger.kernel.org \
    --cc=hannes@cmpxchg.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mdoucha@suse.cz \
    --cc=mhocko@kernel.org \
    --cc=muchun.song@linux.dev \
    --cc=roman.gushchin@linux.dev \
    --cc=shakeel.butt@linux.dev \
    /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;
as well as URLs for NNTP newsgroup(s).