public inbox for cgroups@vger.kernel.org
 help / color / mirror / Atom feed
From: "Michal Koutný" <mkoutny-IBi9RG/b67k@public.gmane.org>
To: brookxu <brookxu.cn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Tejun Heo <tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	lizefan.x-EC8Uxl6Npydl57MIdRCFDg@public.gmane.org,
	hannes-druUgvl0LCNAfugRpC6u6w@public.gmane.org,
	vipinsh-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH v2] misc_cgroup: use a counter to count the number of failures
Date: Thu, 26 Aug 2021 13:29:54 +0200	[thread overview]
Message-ID: <20210826112954.GD4520@blackbody.suse.cz> (raw)
In-Reply-To: <4ed67493-e595-e002-69f9-1f53662ba189-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

On Thu, Aug 26, 2021 at 09:34:45AM +0800, brookxu <brookxu.cn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> The core logic of pids cgroup and misc cgroup is similar.

Yes, the latter is conceptually a generalization of the former and it can
be tempting to use the general form. Beware that pids controller would
need to retain its existing API (and the behavior of being an
independent controller) and that would be IMO exceptions
counterweighting the generalization.

> Is it possible for us to merge pids cgroup into misc cgroup?

Technically it might be possible but I can't see the benefit (but maybe
you envisioned something else where my reasoning won't apply).

Michal

  parent reply	other threads:[~2021-08-26 11:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-14  0:15 [PATCH v2] misc_cgroup: use a counter to count the number of failures brookxu
     [not found] ` <a09f381462b1ce9c506a22713b998e21b459f7e9.1628899295.git.brookxu-1Nz4purKYjRBDgjK7y7TUQ@public.gmane.org>
2021-08-14  1:16   ` Vipin Sharma
2021-08-24 16:44   ` Michal Koutný
     [not found]     ` <20210824164423.GA11859-9OudH3eul5jcvrawFnH+a6VXKuFTiq87@public.gmane.org>
2021-08-24 19:08       ` Tejun Heo
     [not found]         ` <YSVDwc/1sEmXdOK9-NiLfg/pYEd1N0TnZuCh8vA@public.gmane.org>
2021-08-25  6:50           ` brookxu
2021-08-26  1:34           ` brookxu
     [not found]             ` <4ed67493-e595-e002-69f9-1f53662ba189-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2021-08-26 11:29               ` Michal Koutný [this message]
     [not found]                 ` <20210826112954.GD4520-9OudH3eul5jcvrawFnH+a6VXKuFTiq87@public.gmane.org>
2021-09-08  5:29                   ` brookxu
     [not found]                     ` <49057879-92a9-958a-ac30-057ceabd1b7f-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2021-09-09 15:01                       ` Michal Koutný

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=20210826112954.GD4520@blackbody.suse.cz \
    --to=mkoutny-ibi9rg/b67k@public.gmane.org \
    --cc=brookxu.cn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=hannes-druUgvl0LCNAfugRpC6u6w@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=lizefan.x-EC8Uxl6Npydl57MIdRCFDg@public.gmane.org \
    --cc=tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=vipinsh-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org \
    /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