[-next v2 0/4] some optimization for cpuset
From: Chen Ridong
Date: Wed Aug 13 2025 - 04:45:42 EST
From: Chen Ridong <chenridong@xxxxxxxxxx>
This patch series contains several cpuset improvements:
1. Remove redundant CS_ONLINE flag.
2. Decouple cpuset and tmpmasks allocation/freeing.
3. Add cpus_read_cpuset_[un]lock() helpers.
---
v2:
- dropped guard helper approach, nusing new helper instead.
- added patches for decoupling cpuset/tmpmasks allocation
Chen Ridong (4):
cpuset: remove redundant CS_ONLINE flag
cpuset: decouple tmpmaks and cpumaks of cs free
cpuset: separate tmpmasks and cpuset allocation logic
cpuset: add helpers for cpus read and cpuset_mutex locks
include/linux/cgroup.h | 5 +
kernel/cgroup/cpuset-internal.h | 5 +-
kernel/cgroup/cpuset-v1.c | 12 +-
kernel/cgroup/cpuset.c | 212 ++++++++++++++++----------------
4 files changed, 117 insertions(+), 117 deletions(-)
--
2.34.1