Skip to content

cgroup/cpuset: Fix partition updates using stale CPU masks

Guopeng Zhang cgroups lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2cgroup/cpuset: Fix cpuset.cpus update in a remote partitionkernel/cgroup/cpuset.c+4 -12 replies
2/2cgroup/cpuset: Fix invalid local partition recoverykernel/cgroup/cpuset.c+5 -12 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] cgroup/cpuset: Fix partition updates using stale CPU masks

From: Guopeng Zhang <[email protected]>

These patches fix two cases where partition updates read stale configured CPU masks:

1. Shrinking cpuset.cpus of a remote partition can leave a removed CPU unavailable to the top cpuset.
2. Updating cpuset.cpus.exclusive can leave an invalid local partition unable to recover after the mask becomes valid.

Move each configured mask update before partition_cpus_change().

Guopeng Zhang (2):
cgroup/cpuset: Fix cpuset.cpus update in a remote partition cgroup/cpuset: Fix invalid local partition recovery

 kernel/cgroup/cpuset.c | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
Signature · 1 line
2.43.0