[PATCH -next 0/4] some optimization for cpuset

Chen Ridong posted 4 patches 4 months, 1 week ago
There is a newer version of this series
include/linux/cgroup.h          |  5 ++++
include/linux/cpuset.h          |  3 +-
kernel/cgroup/cpuset-internal.h |  5 ++--
kernel/cgroup/cpuset-v1.c       | 22 +++++---------
kernel/cgroup/cpuset.c          | 52 ++++++++++-----------------------
kernel/sched/syscalls.c         | 15 ++++------
6 files changed, 37 insertions(+), 65 deletions(-)
[PATCH -next 0/4] some optimization for cpuset
Posted by Chen Ridong 4 months, 1 week ago
From: Chen Ridong <chenridong@huawei.com>

This patch series includes the following improvements:

1. Removes the redundant CS_ONLINE flag.
2. Introduces new helper functions guard_cpuset() and
   guard_cpus_read_and_cpuset().
3. Replaces manual locking patterns with the new guard helpers.

Chen Ridong (4):
  cpuset: remove redundant CS_ONLINE flag
  cpuset: add helpers for cpuset related locks
  cpuset: use guard_cpus_read_and_cpuset to make code concise
  cpuset: replace cpuset_lock() with guard_cpuset()

 include/linux/cgroup.h          |  5 ++++
 include/linux/cpuset.h          |  3 +-
 kernel/cgroup/cpuset-internal.h |  5 ++--
 kernel/cgroup/cpuset-v1.c       | 22 +++++---------
 kernel/cgroup/cpuset.c          | 52 ++++++++++-----------------------
 kernel/sched/syscalls.c         | 15 ++++------
 6 files changed, 37 insertions(+), 65 deletions(-)

-- 
2.34.1