From: Tejun Heo <tj@kernel.org>
To: "T.J. Mercier" <tjmercier@google.com>
Cc: "Michal Koutný" <mkoutny@suse.com>,
"Zefan Li" <lizefan.x@bytedance.com>,
"Johannes Weiner" <hannes@cmpxchg.org>,
shakeel.butt@linux.dev, cgroups@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] cgroup: Fix /proc/cgroups count for v2
Date: Tue, 28 May 2024 12:42:32 -1000 [thread overview]
Message-ID: <ZlZd2EsF7KOqPx7a@slm.duckdns.org> (raw)
In-Reply-To: <CABdmKX2vmpFS=j_FoFOadHRVVWaWUsReJYv+dJNHosk1uE_Dvw@mail.gmail.com>
On Tue, May 28, 2024 at 03:38:01PM -0700, T.J. Mercier wrote:
> > > I think it would make sense to introduce something in a similar
> > > fashion. Can't think of a good name off the top of my head but add a
> > > cgroup. file which lists the controllers in the subtree along with the
> > > number of css's.
> >
> > BTW, there is the 'debug' subsys that has (almost) exactly that:
> > 'debug.csses' -- it's in v1 fashion though so it won't show hierarchical
> > sums.
Yeah, something like that but hierarchical and built into cgroup2 interface.
Would that work for your use case?
Thanks.
--
tejun
next prev parent reply other threads:[~2024-05-28 22:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-28 16:37 [PATCH 1/2] cgroup: Fix /proc/cgroups count for v2 T.J. Mercier
2024-05-28 19:43 ` Tejun Heo
2024-05-28 21:42 ` Michal Koutný
2024-05-28 22:30 ` Tejun Heo
2024-05-28 22:38 ` T.J. Mercier
2024-05-28 22:41 ` Tejun Heo
2024-05-28 22:38 ` T.J. Mercier
2024-05-28 22:42 ` Tejun Heo [this message]
2024-05-28 22:45 ` T.J. Mercier
2024-05-28 23:02 ` T.J. Mercier
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=ZlZd2EsF7KOqPx7a@slm.duckdns.org \
--to=tj@kernel.org \
--cc=cgroups@vger.kernel.org \
--cc=hannes@cmpxchg.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lizefan.x@bytedance.com \
--cc=mkoutny@suse.com \
--cc=shakeel.butt@linux.dev \
--cc=tjmercier@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