From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C570EC433DB for ; Mon, 15 Mar 2021 19:25:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 862FA64F46 for ; Mon, 15 Mar 2021 19:25:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233504AbhCOTYm (ORCPT ); Mon, 15 Mar 2021 15:24:42 -0400 Received: from foss.arm.com ([217.140.110.172]:37662 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232655AbhCOTYd (ORCPT ); Mon, 15 Mar 2021 15:24:33 -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 F248B1FB; Mon, 15 Mar 2021 12:24:32 -0700 (PDT) Received: from e113632-lin (e113632-lin.cambridge.arm.com [10.1.194.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7FFDF3F718; Mon, 15 Mar 2021 12:24:31 -0700 (PDT) From: Valentin Schneider To: Vincent Guittot Cc: linux-kernel , Rik van Riel , Qais Yousef , Peter Zijlstra , Ingo Molnar , Dietmar Eggemann , Morten Rasmussen , Quentin Perret , Pavan Kondeti , Lingutla Chandrasekhar Subject: Re: [PATCH v3 3/7] sched/fair: Add more sched_asym_cpucapacity static branch checks In-Reply-To: References: <20210311120527.167870-1-valentin.schneider@arm.com> <20210311120527.167870-4-valentin.schneider@arm.com> Date: Mon, 15 Mar 2021 19:24:29 +0000 Message-ID: <87tupcrziq.mognet@arm.com> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Vincent, Thanks for taking another look at this. On 15/03/21 15:18, Vincent Guittot wrote: > On Thu, 11 Mar 2021 at 13:05, Valentin Schneider > wrote: >> >> Rik noted a while back that a handful of >> >> sd->flags & SD_ASYM_CPUCAPACITY >> >> & family in the CFS load-balancer code aren't guarded by the >> sched_asym_cpucapacity static branch. > > guarding asym capacity with static branch in fast path makes sense but > I see no benefit in this slow path but hiding and complexifying the > code. Also if you start with this way then you have to add a nop in > all other places where flag or a group_type might be unused. > OK, fair enough, I'll drop this one.