Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3858077ybt; Tue, 30 Jun 2020 12:28:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+PIF5tKBmBwEfKHsGswj/J0OP6Z2qqJ3VPf3EfDXMf34SEA4SVFxR5XQy8T8WRwpzTtB1 X-Received: by 2002:aa7:c987:: with SMTP id c7mr24180334edt.268.1593544909189; Tue, 30 Jun 2020 12:21:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593544909; cv=none; d=google.com; s=arc-20160816; b=YdNAfuDpBUCtL4lGaSx+zcqvRkiEZhqy4XdvFb72VugDe/m3+nUjZE1EZYil24jCIA PSKLQfyMu8jhbPq96TSdENHo1qCJatPcRSJH0qrLa+82372RcWupVGEHGqiAUQWAs1cf ZYloVU6EGGu1tV1xDGxGEzwD/hYvCmK1mQ0EJmN8yXZKpmlIarE/YHZAk4eQrtKQGmxE rJqvs4pM9JCf4DLzXT5gIpvacaO5jkbQAB80Kow7GsaPdYeMzY54VNUaPOJGsXNndCi2 GcvsR4dvyKKfBQEhLEyek29AeDO1pYd5Bdtc0LQ7az08ShVz1vCrDeXM1vMczEXS8D1s cb/Q== 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; bh=BmnK0cAIxkdFNRZ+cFTin4yoEO9v5hgPYZk58869fZs=; b=cbpPtkOQ3bNRkhnJ2TIjfpItHUO01dF0KFBri6th0MqAoSv1OmqDdoONl6mvT4N8HR G2ivJYI9i+q23ZIEtXLwK2jMegpjP5OaJ+LQBPCUY+3MWjMnkp1dsby2rJRsFqVBJp8D OcLFq77pNgr4PZisaRBh7U1QW5MDovqj3d7gb2AJ1STdfL5+FLc5U6tVvOY837JPC66e XtBJZ4Yxg0ExZCidgUaQeO4JAv9aS6HowWEPd5kxqHP+4NszjY/7ICYmHkjLx8EyiH9P TMx9mVQEPk8hejClkxlaohXXtjVjOq2aISEKfqayyTGYgF7J6e9wL5WcqRtNhWgJ+j2n kNkg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c4si2183355edq.372.2020.06.30.12.21.26; Tue, 30 Jun 2020 12:21:49 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389602AbgF3SEu (ORCPT + 99 others); Tue, 30 Jun 2020 14:04:50 -0400 Received: from foss.arm.com ([217.140.110.172]:51326 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729105AbgF3SEu (ORCPT ); Tue, 30 Jun 2020 14:04:50 -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 989891FB; Tue, 30 Jun 2020 11:04:49 -0700 (PDT) Received: from e107158-lin.cambridge.arm.com (e107158-lin.cambridge.arm.com [10.1.195.21]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id ED13A3F68F; Tue, 30 Jun 2020 11:04:47 -0700 (PDT) Date: Tue, 30 Jun 2020 19:04:45 +0100 From: Qais Yousef To: Patrick Bellasi Cc: Ingo Molnar , Peter Zijlstra , Valentin Schneider , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Chris Redpath , Lukasz Luba , linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 2/2] sched/uclamp: Protect uclamp fast path code with static key Message-ID: <20200630180445.dvhm5fje6cuk6h4g@e107158-lin.cambridge.arm.com> References: <20200629162633.8800-1-qais.yousef@arm.com> <20200629162633.8800-3-qais.yousef@arm.com> <87366dnfaq.derkling@matbug.net> <20200630094623.hnlqtgavauqlsuyd@e107158-lin.cambridge.arm.com> <87zh8kmwlt.derkling@matbug.net> <20200630154033.5r6zi7ajgag7jlec@e107158-lin.cambridge.arm.com> <87wo3omot7.derkling@matbug.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87wo3omot7.derkling@matbug.net> User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/30/20 19:44, Patrick Bellasi wrote: [...] > > I am sorry there's no written rule that says one should do it in a specific > > way. And AFAIK both way are implemented in the kernel. I appreciate your > > suggestion but as the person who did all the hard work, I think my preference > > matters here too. > > You sure know that sometime reviewing code can be an "hard work" too, so I > would not go down that way at all with the discussion. Quite likely I > have a different "subjective" view on how Open Source development works. > > > And actually with my approach when uclamp is not compiled in there's no need to > > define an extra variable; and since uclamp_is_used() is defined as false for > > !CONFIG_UCLAMP_TASK, it'll help with DCE, so less likely to end up with dead > > code that'll never run in the final binary. > > Good, this is the simple and small reply I've politely asked for. I am sorry if I offended you. I took all your comments seriously and answered them to the best of my ability. All of your comments and suggestions were highly appreciated too. If the wrong message reached across, rest assured it wasn't the intended one. Thanks -- Qais Yousef