From: Mike Galbraith Subject: Re: [PATCH v6 2/2] cpuset: Add cpuset.sched_load_balance to v2 Date: Tue, 27 Mar 2018 08:54:12 +0200 Message-ID: <1522133652.5996.2.camel@gmx.de> References: <1521649309-26690-1-git-send-email-longman@redhat.com> <1521649309-26690-3-git-send-email-longman@redhat.com> <20180322084120.GE7231@localhost.localdomain> <20180323075952.GA4763@localhost.localdomain> <20180326124711.GE5942@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Waiman Long , Juri Lelli Cc: Tejun Heo , Li Zefan , Johannes Weiner , Peter Zijlstra , Ingo Molnar , cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, kernel-team@fb.com, pjt@google.com, luto@amacapital.net, torvalds@linux-foundation.org, Roman Gushchin 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