Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp676553imm; Thu, 26 Jul 2018 10:03:09 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeMkJt/SSi9TjK8TL6DxjuNTSU77RZwfoOvt/0vYIlA+KubSmnuLMiAgSWFRjQhx3AMH4nU X-Received: by 2002:a63:943:: with SMTP id 64-v6mr2661163pgj.368.1532624589529; Thu, 26 Jul 2018 10:03:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532624589; cv=none; d=google.com; s=arc-20160816; b=IBav48qOywY0QlNgxx72W4qaf4nhICFcbTt4XB97sd1ilQ3UjaJ8LD4CIEKdj/0VYo Ff/vgb2MCCbtBf/ng/jeMAIQ7NHyxfhYeDnkzEClwWttJTvETxdAemaVbzj4XJ/IkspO tzVSYIHIsgqFke4/tHwXvoWUEBi5UXMLIErgkoZu9c2PimiVVvmmnLfW8AvtMflUohV/ oBcDZsKe/3U2oOE6KchxQUE2RYaraJkJW3ZWYLV1aW0KXWssBz2g26T3bnoH10QTdbfs +XofFMrEpRuxR9xVZaI6ISbXHpnkcPgbJO5ceeoIRwx2pw6zTJ9JbxXNAyaJ38KX8AjT cmYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=sTvtTJPiMxSaoqiPfQngcTp9bflOwD++XuFdwStNCY4=; b=kntwLTeVcRleqQ6muW+waCyj2Te3EFXOLOKq3B56xLyThjyUp/lhRlevCu0Nx0jIiF mgTN0k4FHKfdabCL6bOC5bq7LMOM1d4Xk0WrmAMf7C+SM9a9GELWZP51pRNwLedImukZ 2QC2W1OKRZhPQ9NO7X7O6rps2zwUyz0ck4UUB021BBawpJVd6k50wy54M9/frPEh8+O2 DzTTY2eGKV5AjssvX3P+DsuMoiJUvMKincOdeQ4T4f9jRd5uwhV8rGgbjK8Rl8Aggkiy NE5rU3I1dtM0i4zjGhVfOD62sz5Vo3tkKMhVJjduyPgK2MHIw2PHXNefmOaJU8UxmK5E PYjg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c18-v6si1685395pgd.448.2018.07.26.10.02.52; Thu, 26 Jul 2018 10:03:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388580AbeGZSTj (ORCPT + 99 others); Thu, 26 Jul 2018 14:19:39 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:59850 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731864AbeGZSTj (ORCPT ); Thu, 26 Jul 2018 14:19:39 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 774D37A9; Thu, 26 Jul 2018 10:01:57 -0700 (PDT) Received: from queper01-lin (queper01-lin.emea.arm.com [10.4.13.27]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 814123F575; Thu, 26 Jul 2018 10:01:53 -0700 (PDT) Date: Thu, 26 Jul 2018 18:01:48 +0100 From: Quentin Perret To: Valentin Schneider Cc: peterz@infradead.org, rjw@rjwysocki.net, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, gregkh@linuxfoundation.org, mingo@redhat.com, dietmar.eggemann@arm.com, morten.rasmussen@arm.com, chris.redpath@arm.com, patrick.bellasi@arm.com, vincent.guittot@linaro.org, thara.gopinath@linaro.org, viresh.kumar@linaro.org, tkjos@google.com, joel@joelfernandes.org, smuckle@google.com, adharmap@quicinc.com, skannan@quicinc.com, pkondeti@codeaurora.org, juri.lelli@redhat.com, edubezval@gmail.com, srinivas.pandruvada@linux.intel.com, currojerez@riseup.net, javi.merino@kernel.org Subject: Re: [PATCH v5 06/14] sched/topology: Lowest energy aware balancing sched_domain level pointer Message-ID: <20180726170146.k5mx2px46blrdiqj@queper01-lin> References: <20180724122521.22109-1-quentin.perret@arm.com> <20180724122521.22109-7-quentin.perret@arm.com> <76777be2-0f70-ca54-21a8-5af77a47ea86@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <76777be2-0f70-ca54-21a8-5af77a47ea86@arm.com> User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday 26 Jul 2018 at 17:00:50 (+0100), Valentin Schneider wrote: > > +DECLARE_PER_CPU(struct sched_domain *, sd_ea); > > There's already the asym-packing shortcut which is making naming a bit more > tedious, but should that really be named energy-aware? IMO it's just the > lowest level at which we can see asymmetry, so perhaps it should be named > as such, i.e. something like sd_asym_capa (and perhaps rename the other one > as sd_asym_pack)? So the 'sd_ea' name comes from the usage we do of this shortcut, and also because this is how the EAS shortcut has always been called, historically. But TBH, if nobody is against that, I don't mind changing the name at all. And maybe we should go for the longer names ? 'sd_asym_packing' and 'sd_asym_cpucapacity' aren't that long, I think. And they're descriptive :-) Thanks, Quentin