From: Tejun Heo <tj@kernel.org>
To: Junnan Zhang <zhangjn_dev@163.com>
Cc: Michal Koutny <mkoutny@suse.com>,
Johannes Weiner <hannes@cmpxchg.org>,
cgroups@vger.kernel.org, linux-kernel@vger.kernel.org,
Ridong Chen <ridong.chen@linux.dev>,
Shouxin Sun <sunshx@chinatelecom.cn>
Subject: Re: [PATCH v3] cgroup: avoid flushing global workqueue in cgroup1_pidlist_destroy_all
Date: Wed, 9 Sep 2026 08:59:57 -1000 [thread overview]
Message-ID: <aqGsrY9Vj57CsVeb@slm.duckdns.org> (raw)
In-Reply-To: <20260909084619.91579-1-zhangjn_dev@163.com>
Hello,
On Wed, Sep 09, 2026 at 04:46:19PM +0800, Junnan Zhang wrote:
> Would you consider taking it as a minimal fix? Or, if the consensus
> is to leave v1 completely untouched, what would be the recommended
> course for production systems that keep hitting this?
The problem is that the root cause isn't sufficiently established. It's just
difficult to believe cleaning up these lists would take longer than 120s in
itself. Maybe there were other contributing factors - e.g. another
saturating per-cpu work item that was preventing the execution of the
pidlist work item, high memory pressure stalling worker creation, or just
severe CPU contention from bw control or whatnot.
Without the root cause convincingly established, this can't be a "minimal
fix". This can be a proactive behavior improvement, but that's not something
we want to do for cgroup1 code base at this point. Not because we hate
people on cgroup1 but because they're the legacy users on legacy code base.
Nobody is actively working on it and no leading edge testing and adoption
covers it. Any change carries risk of breakage and a change like this can
lead to really subtle problems that can take a long time to diagnose
especially with slow-moving long-tail userbase.
So, yes, I'll take minimal fixes that address real problems (subject to risk
vs. benefit balance of course), but you haven't established that yet.
Thanks.
--
tejun
next prev parent reply other threads:[~2026-09-09 18:59 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-14 8:40 [PATCH] " Junnan Zhang
2026-08-14 9:45 ` [PATCH v2] " Junnan Zhang
2026-08-14 10:20 ` [PATCH v3] " Junnan Zhang
2026-08-31 7:39 ` Junnan Zhang
2026-08-31 8:16 ` Michal Koutný
2026-09-01 1:53 ` Ridong Chen
2026-09-01 3:48 ` Junnan Zhang
2026-09-01 3:51 ` Junnan Zhang
[not found] ` <FIXME-fill-in-Michals-message-id>
2026-09-01 3:38 ` Junnan Zhang
2026-09-01 3:39 ` Junnan Zhang
2026-09-08 14:13 ` Michal Koutný
2026-09-08 16:41 ` Tejun Heo
2026-09-09 8:46 ` Junnan Zhang
2026-09-09 18:59 ` Tejun Heo [this message]
2026-09-10 6:16 ` Junnan Zhang
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=aqGsrY9Vj57CsVeb@slm.duckdns.org \
--to=tj@kernel.org \
--cc=cgroups@vger.kernel.org \
--cc=hannes@cmpxchg.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mkoutny@suse.com \
--cc=ridong.chen@linux.dev \
--cc=sunshx@chinatelecom.cn \
--cc=zhangjn_dev@163.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
all inboxes | Powered by JetHome®