Linux Kernel Selftest development
 help / color / mirror / Atom feed
* [PATCH-cgroup v2 0/5] cgroup/cpuset: Fix miscellaneous issues
@ 2024-06-17 14:39 Waiman Long
  2024-06-17 14:39 ` [PATCH-cgroup v2 1/5] cgroup/cpuset: Fix remote root partition creation problem Waiman Long
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Waiman Long @ 2024-06-17 14:39 UTC (permalink / raw)
  To: Tejun Heo, Zefan Li, Johannes Weiner, Jonathan Corbet, Shuah Khan
  Cc: cgroups, linux-kernel, linux-doc, linux-kselftest, Xavier,
	Peter Hunt, Petr Malat, Waiman Long

 v2:
  - Fix test_cpuset_prs.sh problems reported by test robot
  - Relax restriction imposed between cpuset.cpus.exclusive and
    cpuset.cpus of sibling cpusets.
  - Make cpuset.cpus.exclusive independent of cpuset.cpus. 
  - Update test_cpuset_prs.sh accordingly.
  
 [v1] https://lore.kernel.org/lkml/20240605171858.1323464-1-longman@redhat.com/

This patchset attempts to address the following cpuset issues.
 1) While reviewing the generate_sched_domains() function, I found a bug
    in generating sched domains for remote non-isolating partitions.
 2) Test robot had reported a test_cpuset_prs.sh test failure.
 3) The current exclusivity test between cpuset.cpus.exclusive and
    cpuset.cpus and the restriction that the set effective exclusive
    CPUs has to be a subset of cpuset.cpus make it harder to preconfigure
    the cgroup hierarchy to enable remote partition.

The test_cpuset_prs.sh script is updated to match changes made in this
patchset and was run to verify that the new code did not cause any
regression.

Waiman Long (5):
  cgroup/cpuset: Fix remote root partition creation problem
  selftest/cgroup: Fix test_cpuset_prs.sh problems reported by test
    robot
  cgroup/cpuset: Delay setting of CS_CPU_EXCLUSIVE until valid partition
  cgroup/cpuset: Make cpuset.cpus.exclusive independent of cpuset.cpus
  selftest/cgroup: Update test_cpuset_prs.sh to match changes

 Documentation/admin-guide/cgroup-v2.rst       |  12 +-
 kernel/cgroup/cpuset.c                        | 158 +++++++++++++-----
 .../selftests/cgroup/test_cpuset_prs.sh       |  75 ++++++---
 3 files changed, 180 insertions(+), 65 deletions(-)

-- 
2.39.3


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

end of thread, other threads:[~2024-07-15 19:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-17 14:39 [PATCH-cgroup v2 0/5] cgroup/cpuset: Fix miscellaneous issues Waiman Long
2024-06-17 14:39 ` [PATCH-cgroup v2 1/5] cgroup/cpuset: Fix remote root partition creation problem Waiman Long
2024-06-17 14:39 ` [PATCH-cgroup v2 2/5] selftest/cgroup: Fix test_cpuset_prs.sh problems reported by test robot Waiman Long
2024-06-17 14:39 ` [PATCH-cgroup v2 3/5] cgroup/cpuset: Delay setting of CS_CPU_EXCLUSIVE until valid partition Waiman Long
2024-06-17 14:39 ` [PATCH-cgroup v2 4/5] cgroup/cpuset: Make cpuset.cpus.exclusive independent of cpuset.cpus Waiman Long
2024-07-15 15:56   ` Petr Malat
2024-07-15 19:17     ` Waiman Long
2024-06-17 14:39 ` [PATCH-cgroup v2 5/5] selftest/cgroup: Update test_cpuset_prs.sh to match changes Waiman Long
2024-06-19 17:38 ` [PATCH-cgroup v2 0/5] cgroup/cpuset: Fix miscellaneous issues Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox