Skip to content

Fix broken cpuset affinity handling on heterogeneous systems

Will Deacon cgroups linux-mm lkml 1 version Applied

Status from this message: Applied to cgroup/for-6.2-fixes.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 29 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2cpuset: Fix cpuset_cpus_allowed() to not filter offline CPUskernel/cgroup/cpuset.c+34 -523 replies
2/2cpuset: Call set_cpus_allowed_ptr() with appropriate mask for taskkernel/cgroup/cpuset.c+11 -76 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchWaiman Long
1/2
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Fix broken cpuset affinity handling on heterogeneous systems

Hi folks,

These two patches fix a couple of CPU affinity issues involving cpusets on heterogeneous systems. A concrete example of this is running 32-bit tasks on recent arm64 SoCs, where some of the cores are only capable of 64-bit execution.

The first patch (from Peter) fixes a regression introduced during the recent merge window which is causing test failures in Android where the problematic patches have been backported. The second patch fixes a longer-standing issue, which I noticed while testing fixes for the initial regression.

Ideally, both of these would land together, but fixing the regression for 6.2 is my main concern.

Anyway, I don't think either Peter or I would call ourselves cpuset experts (far from it!), so please have a look.

Cheers,

Will

Cc Peter Zijlstra <[email protected]>
Cc Waiman Long <[email protected]>
Cc Zefan Li <[email protected]>
Cc Tejun Heo <[email protected]>
Cc Johannes Weiner <[email protected]>

--->8

Peter Zijlstra (1):
cpuset: Fix cpuset_cpus_allowed() to not filter offline CPUs

Will Deacon (1):
cpuset: Call set_cpus_allowed_ptr() with appropriate mask for task

 kernel/cgroup/cpuset.c | 57 +++++++++++++++++++++++++++++++++---------
 1 file changed, 45 insertions(+), 12 deletions(-)
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog