mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: "zhaoyang.huang" <zhaoyang.huang@unisoc.com>
Cc: Zefan Li <lizefan.x@bytedance.com>,
	Johannes Weiner <hannes@cmpxchg.org>,
	Zhaoyang Huang <huangzhaoyang@gmail.com>,
	linux-kernel@vger.kernel.org, cgroups@vger.kernel.org,
	ke.wang@unisoc.com
Subject: Re: [PATCH] cgroup: fix attach task fail when subtree_control configured
Date: Fri, 8 Apr 2022 07:54:26 -1000	[thread overview]
Message-ID: <YlB20sw1e998Dant@slm.duckdns.org> (raw)
In-Reply-To: <1649413394-17501-1-git-send-email-zhaoyang.huang@unisoc.com>

On Fri, Apr 08, 2022 at 06:23:14PM +0800, zhaoyang.huang wrote:
> From: Zhaoyang Huang <zhaoyang.huang@unisoc.com>
> 
> It is found that task attach to a vacant cgroup will fail when its
> subtree_control has been configured. Fix it by judging if there is no chrildren
> existed.
> 
> Signed-off-by: Zhaoyang Huang <zhaoyang.huang@unisoc.com>

If I'm not misunderstanding, that's the intended behavior. Can you please
take a look at Documentation/admin-guide/cgroup-v2.rst and confirm what
you're trying to do?

Thanks.

-- 
tejun

      reply	other threads:[~2022-04-08 17:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-08 10:23 zhaoyang.huang
2022-04-08 17:54 ` Tejun Heo [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=YlB20sw1e998Dant@slm.duckdns.org \
    --to=tj@kernel.org \
    --cc=cgroups@vger.kernel.org \
    --cc=hannes@cmpxchg.org \
    --cc=huangzhaoyang@gmail.com \
    --cc=ke.wang@unisoc.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lizefan.x@bytedance.com \
    --cc=zhaoyang.huang@unisoc.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®