lkml.org 
[lkml]   [2024]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 1/2] cgroup/cpuset: Make cpuset hotplug processing synchronous
From

On 4/3/24 10:56, Michal Koutný wrote:
> On Wed, Apr 03, 2024 at 10:47:33AM -0400, Waiman Long <longman@redhat.com> 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


\
 
 \ /
  Last update: 2024-05-27 16:22    [W:0.037 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site