Path: csiph.com!news.mixmin.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod From: Peter Zijlstra Newsgroups: linux.kernel Subject: Re: [RFC PATCH 2/2] sched: Remove SD_WAKE_AFFINE flag and replace it with SD_BALANCE_WAKE Date: Tue, 31 May 2016 11:30:02 +0200 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2012-12-30) Sender: robomod@news.nic.it List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Approved: robomod@news.nic.it Lines: 10 Organization: linux.* mail to news gateway X-Original-Cc: mingo@kernel.org, linux-kernel@vger.kernel.org, umgwanakikbuti@gmail.com, bsegall@google.com, pjt@google.com, morten.rasmussen@arm.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com X-Original-Date: Tue, 31 May 2016 11:23:14 +0200 X-Original-Message-ID: <20160531092314.GU3192@twins.programming.kicks-ass.net> X-Original-References: <1464657098-24880-1-git-send-email-yuyang.du@intel.com> <1464657098-24880-3-git-send-email-yuyang.du@intel.com> X-Original-Sender: linux-kernel-owner@vger.kernel.org Xref: csiph.com linux.kernel:1410034 On Tue, May 31, 2016 at 09:11:38AM +0800, Yuyang Du wrote: > SD_BALANCE_{FORK|EXEC|WAKE} flags are for select_task_rq() to select a > CPU to run a new task or a waking task. SD_WAKE_AFFINE is a flag to > try selecting the waker CPU to run the waking task. > > SD_BALANCE_WAKE is not a sched_domain flag, but SD_WAKE_AFFINE is. No, SD_BALANCE_{FORK,EXEC,WAKE} are very much sched_domain flags. They indicate how wide we should look to place tasks on these events.