Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp817243pxj; Wed, 2 Jun 2021 12:11:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5hKAGIxKZETgkHxy1C3HoivDJuvDJ9tUsRRE1Bn31Nk8zS0VgqnIxJjb/7N60IROjgVxV X-Received: by 2002:a17:906:7742:: with SMTP id o2mr16814886ejn.284.1622661108628; Wed, 02 Jun 2021 12:11:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622661108; cv=none; d=google.com; s=arc-20160816; b=L+TM+30T9D5RH31kCibO7/i0/bBfkk6dCiMpCzAi5jYKm/69dvH1PmnWU4GO9E/DAN J7/gpfGiVqmNudolMcIxzcjBnKfAyCnLyVzNV0eeww34paxTpA4OSo3GTZ2NTWmma/ee 01u9GMEvbBaSVBb3N2sCnQtkjBpyD32xeNVlDeLqriUFPpXaG8NFeMEsPTFlHmRlDow9 fHuYcr9p1hEsjkULjcbBWUbHFqdQP4z+9aCw+8SHwe27UAhxDD3C5RofBMoJ381uCTbs j76/9yrJv0CwCxBh9FfoeoISZSpgFKb2enoVX12DjTGCpm53Uf+Al9rbRj4f316PlcCw 0BTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=VwEWtOGIK9BfK20sDB75lu3Fknum/Xx7lv8Nip2GxZc=; b=iaM2aYXuE2+C6L92gI7JinMfoy8SBogvAkKrLnCXxyMiQm8/jB1tF1sLSMgixQw9Fy mJi4ANC2BLmrTEPaG53A+VbqOKpohRan/36GFN4kbf9eO1Y432qByW2Nk7PtDi8h5sET DMAhk60BP7JIzUm/gAwjox2YbcOFn0YKLaBkJn0j07lf4cXJJirIWlRTl5vxsumkRVfl dXwgWlH7+kdTX1UOP1E94hfbgmspnRWP1Sas211f9V680/SSWnrILrfS82/F0ZVdOaMJ imvJd1KyRe2hnG75wjounz7KIK1RWfFCqJhnJG+ik5QRBlpa9CuVZNRzHd5NwsNSZsip PZUA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a27si637168edm.396.2021.06.02.12.11.25; Wed, 02 Jun 2021 12:11:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229629AbhFBTLw (ORCPT + 99 others); Wed, 2 Jun 2021 15:11:52 -0400 Received: from foss.arm.com ([217.140.110.172]:52458 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229620AbhFBTLw (ORCPT ); Wed, 2 Jun 2021 15:11:52 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 5CCC11063; Wed, 2 Jun 2021 12:10:08 -0700 (PDT) Received: from [192.168.178.6] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A9D973F774; Wed, 2 Jun 2021 12:10:06 -0700 (PDT) Subject: Re: [PATCH v6 0/3] Rework CPU capacity asymmetry detection To: Beata Michalska , linux-kernel@vger.kernel.org Cc: peterz@infradead.org, mingo@redhat.com, juri.lelli@redhat.com, vincent.guittot@linaro.org, valentin.schneider@arm.com, corbet@lwn.net, rdunlap@infradead.org, linux-doc@vger.kernel.org References: <20210527153842.17567-1-beata.michalska@arm.com> From: Dietmar Eggemann Message-ID: <0e0f8202-4acc-5092-33c1-82d268b3fd5b@arm.com> Date: Wed, 2 Jun 2021 21:10:05 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210527153842.17567-1-beata.michalska@arm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27/05/2021 17:38, Beata Michalska wrote: [...] > Beata Michalska (3): > sched/core: Introduce SD_ASYM_CPUCAPACITY_FULL sched_domain flag > sched/topology: Rework CPU capacity asymmetry detection > sched/doc: Update the CPU capacity asymmetry bits > > Documentation/scheduler/sched-capacity.rst | 6 +- > Documentation/scheduler/sched-energy.rst | 2 +- > include/linux/sched/sd_flags.h | 10 ++ > kernel/sched/topology.c | 194 +++++++++++++-------- > 4 files changed, 133 insertions(+), 79 deletions(-) Looks good to me, even though I would like to see a more compact version of asym_cpu_capacity_classify(). Details in my response to [PATCH v6 2/3]. Did some level of testing myself and wasn't able to break it. Reviewed-by: Dietmar Eggemann