From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758039AbcGKJzb (ORCPT ); Mon, 11 Jul 2016 05:55:31 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:54962 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752838AbcGKJza (ORCPT ); Mon, 11 Jul 2016 05:55:30 -0400 Date: Mon, 11 Jul 2016 11:55:23 +0200 From: Peter Zijlstra To: Morten Rasmussen 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: <20160711095523.GL30909@twins.programming.kicks-ass.net> References: <1466615004-3503-1-git-send-email-morten.rasmussen@arm.com> <1466615004-3503-5-git-send-email-morten.rasmussen@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1466615004-3503-5-git-send-email-morten.rasmussen@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 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. > > SD 2 [ 0 1 2 3] SD_ASYM_CPUCAPACITY > > SD 1 [ 0 1] [ 2 3] SD_ASYM_CPUCAPACITY > > cpu: 0 1 2 3 > capacity: 756 756 1024 1024 >