cgroups.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chen Ridong <chenridong@huaweicloud.com>
To: tj@kernel.org, hannes@cmpxchg.org, mkoutny@suse.com
Cc: cgroups@vger.kernel.org, linux-kernel@vger.kernel.org,
	lujialin4@huawei.com, chenridong@huawei.com
Subject: [PATCH cgroup/for-next 0/3] Improve clarity of cgroup destruction process
Date: Tue, 26 Aug 2025 03:40:19 +0000	[thread overview]
Message-ID: <20250826034022.1736249-1-chenridong@huaweicloud.com> (raw)

From: Chen Ridong <chenridong@huawei.com>

This series aims to improve the clarity of the cgroup destruction
mechanism. Since the destruction process has been split across three
workqueues, this patch set introduces helper functions and renames
existing ones to enhance readability. As a result, the logic now follows
a more straightforward one-to-one correspondence, making the overall flow
easier to understand. Besides, patch 1 removes the redundancy online_cnt.

This series is based on 04a4d6c24eef8a1fc89d8b6129ac00ca2f638aff for the
cgroup/for-next branch.

Chen Ridong (3):
  cgroup: remove redundancy online_cnt
  cgroup: add css_free helper
  cgroup: rename css offline related functions

 include/linux/cgroup-defs.h |  6 ----
 kernel/cgroup/cgroup.c      | 59 ++++++++++++++++++-------------------
 kernel/cgroup/debug.c       |  2 +-
 3 files changed, 30 insertions(+), 37 deletions(-)

-- 
2.34.1


             reply	other threads:[~2025-08-26  3:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-26  3:40 Chen Ridong [this message]
2025-08-26  3:40 ` [PATCH cgroup/for-next 1/3] cgroup: remove redundancy online_cnt Chen Ridong
2025-08-26 14:14   ` Michal Koutný
2025-08-27  0:54     ` Chen Ridong
2025-08-27  0:59   ` Chen Ridong
2025-08-26  3:40 ` [PATCH cgroup/for-next 2/3] cgroup: add css_free helper Chen Ridong
2025-08-26  3:40 ` [PATCH cgroup/for-next 3/3] cgroup: rename css offline related functions Chen Ridong

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=20250826034022.1736249-1-chenridong@huaweicloud.com \
    --to=chenridong@huaweicloud.com \
    --cc=cgroups@vger.kernel.org \
    --cc=chenridong@huawei.com \
    --cc=hannes@cmpxchg.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lujialin4@huawei.com \
    --cc=mkoutny@suse.com \
    --cc=tj@kernel.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;
as well as URLs for NNTP newsgroup(s).