From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933270AbcHYLpj (ORCPT ); Thu, 25 Aug 2016 07:45:39 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:39609 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758408AbcHYLpg (ORCPT ); Thu, 25 Aug 2016 07:45:36 -0400 Date: Thu, 25 Aug 2016 13:45:22 +0200 From: Peter Zijlstra To: Morten Rasmussen Cc: Srinivas Pandruvada , mingo@redhat.com, tglx@linutronix.de, hpa@zytor.com, rjw@rjwysocki.net, x86@kernel.org, bp@suse.de, sudeep.holla@arm.com, ak@linux.intel.com, linux-acpi@vger.kernel.org, linux-pm@vger.kernel.org, alexey.klimov@arm.com, viresh.kumar@linaro.org, akpm@linux-foundation.org, linux-kernel@vger.kernel.org, lenb@kernel.org, tim.c.chen@linux.intel.com, paul.gortmaker@windriver.com, jpoimboe@redhat.com, mcgrof@kernel.org, jgross@suse.com, robert.moore@intel.com, dvyukov@google.com, jeyu@redhat.com Subject: Re: [PATCH 03/11] sched: Extend scheduler's asym packing Message-ID: <20160825114522.GD10138@twins.programming.kicks-ass.net> References: <1471559812-19967-1-git-send-email-srinivas.pandruvada@linux.intel.com> <1471559812-19967-4-git-send-email-srinivas.pandruvada@linux.intel.com> <20160825112251.GA1323@e105550-lin.cambridge.arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160825112251.GA1323@e105550-lin.cambridge.arm.com> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 25, 2016 at 12:22:52PM +0100, Morten Rasmussen wrote: > I haven't reviewed the entire patch set in detail, but why can't the cpu > priority list be handed to the scheduler instead of moving scheduling > decisions out of the scheduler? It basically does that. All that we allow here is the architecture to override the default order of what is considered priority. The default (as per Power7) is naked cpu number, with lower cpu numbers having higher priority to higher numbers. This patch set allows the architecture to provide a less_than operator (and through that a custom order).