From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758407AbcGKKkr (ORCPT ); Mon, 11 Jul 2016 06:40:47 -0400 Received: from foss.arm.com ([217.140.101.70]:52066 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753189AbcGKKkp (ORCPT ); Mon, 11 Jul 2016 06:40:45 -0400 Date: Mon, 11 Jul 2016 11:42:18 +0100 From: Morten Rasmussen To: Peter Zijlstra Cc: mingo@redhat.com, dietmar.eggemann@arm.com, yuyang.du@intel.com, vincent.guittot@linaro.org, mgalbraith@suse.de, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 04/13] sched: Introduce SD_ASYM_CPUCAPACITY sched_domain topology flag Message-ID: <20160711104218.GG12540@e105550-lin.cambridge.arm.com> References: <1466615004-3503-1-git-send-email-morten.rasmussen@arm.com> <1466615004-3503-5-git-send-email-morten.rasmussen@arm.com> <20160711095523.GL30909@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160711095523.GL30909@twins.programming.kicks-ass.net> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 11, 2016 at 11:55:23AM +0200, Peter Zijlstra wrote: > On Wed, Jun 22, 2016 at 06:03:15PM +0100, Morten Rasmussen wrote: > > Add a topology flag to the sched_domain hierarchy indicating > > sched_groups at this sched_domain level having different per cpu > > capacity (e.g. big.LITTLE big-only and little-only groups) or groups in > > sibling domains with different capacity. > > > IOW, domains not spanning cpus > > of all available capacities up until and including the first level > > spanning cpus of all capacities available system wide. > > This ^, which would be SD1 below, why? I would expect only SD2 to be > tagged, since that does indeed have asymmetric capacities. That would make most sense, but it complicates how we can use the flag. See reply to your related question for patch #5.