cgroups.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH cgroup/for-next 0/3] Improve clarity of cgroup destruction process
@ 2025-08-26  3:40 Chen Ridong
  2025-08-26  3:40 ` [PATCH cgroup/for-next 1/3] cgroup: remove redundancy online_cnt Chen Ridong
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Chen Ridong @ 2025-08-26  3:40 UTC (permalink / raw)
  To: tj, hannes, mkoutny; +Cc: cgroups, linux-kernel, lujialin4, chenridong

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-08-27  0:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-26  3:40 [PATCH cgroup/for-next 0/3] Improve clarity of cgroup destruction process Chen Ridong
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

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).