[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250825032352.1703602-1-chenridong@huaweicloud.com>
Date: Mon, 25 Aug 2025 03:23:49 +0000
From: Chen Ridong <chenridong@...weicloud.com>
To: longman@...hat.com,
tj@...nel.org,
hannes@...xchg.org,
mkoutny@...e.com
Cc: cgroups@...r.kernel.org,
linux-kernel@...r.kernel.org,
lujialin4@...wei.com,
chenridong@...wei.com
Subject: [PATCH -next v5 0/3] some optimization for cpuset
From: Chen Ridong <chenridong@...wei.com>
This patch series contains several cpuset improvements:
1. Decouple cpuset and tmpmasks allocation/freeing.
2. Add cpuset_full_[un]lock helpers.
---
v5:
- add return tag comment for patch 2.
v4:
- update the commit message for patch 3.
v3:
- fix typos and comment errors.
- rename cpus_read_cpuset_[un]lock to cpuset_full_[un]lock
v2:
- dropped guard helper approach, nusing new helper instead.
- added patches for decoupling cpuset/tmpmasks allocation
Chen Ridong (3):
cpuset: decouple tmpmasks and cpumasks freeing in cgroup
cpuset: separate tmpmasks and cpuset allocation logic
cpuset: add helpers for cpus read and cpuset_mutex locks
kernel/cgroup/cpuset-internal.h | 2 +
kernel/cgroup/cpuset-v1.c | 12 +-
kernel/cgroup/cpuset.c | 219 +++++++++++++++++---------------
3 files changed, 122 insertions(+), 111 deletions(-)
--
2.34.1
Powered by blists - more mailing lists