lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250813082904.1091651-1-chenridong@huaweicloud.com>
Date: Wed, 13 Aug 2025 08:29:00 +0000
From: Chen Ridong <chenridong@...weicloud.com>
To: tj@...nel.org,
	hannes@...xchg.org,
	mkoutny@...e.com,
	longman@...hat.com
Cc: cgroups@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	lujialin4@...wei.com,
	chenridong@...wei.com,
	christophe.jaillet@...adoo.fr
Subject: [-next v2 0/4] some optimization for cpuset

From: Chen Ridong <chenridong@...wei.com>

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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ