Re: [PATCH v6 2/2] cpuset: Add cpuset.sched_load_balance to v2

From: Mike Galbraith
Date: Tue Mar 27 2018 - 02:55:06 EST


On Mon, 2018-03-26 at 16:28 -0400, Waiman Long wrote:
>
> The sched_load_balance flag isn't something that is passed to the
> scheduler. It only only affects the CPU topology of the system. So I
> suspect that a process in the root cgroup will be load balanced among
> the CPUs in the one of the child cgroups.

Yes, among CPUs that remain part of topology (and intersect affinity).

> That doesn't look right unless
> we enforce that no process can be in the root cgroup in this case.

caveat: quite a few kthreads are nailed to the floor of root.

-Mike