On 4/3/24 10:56, Michal Koutný wrote:
On Wed, Apr 03, 2024 at 10:47:33AM -0400, Waiman Long <longman@xxxxxxxxxx> wrote:
should be rare these days as it will only apply in the case of cgroup
v1 under certain condtion,
Could the migration be simply omitted it those special cases?
(Tasks remain in cpusets with empty cpusets -- that already happens in
with the current patch before workqueue is dispatched.)
The tasks should not be runnable if there is no CPUs left in their v1
cpuset. Migrating them to a parent with runnable CPUs is the current way
which I don't want to break. Alternatively, we could force it to fall
back to cgroup v2 behavior using the CPUs in their parent cpuset.
Cheers,
Longman
Michal