Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp931985imm; Wed, 15 Aug 2018 08:32:05 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzdqDvgzVr/6U3mrRvmnEgNu3kpmesA3K1BqLU779lUoDtBlAdtmd+XhBJEQNq+7xsPOzup X-Received: by 2002:a62:c505:: with SMTP id j5-v6mr27674275pfg.153.1534347125603; Wed, 15 Aug 2018 08:32:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534347125; cv=none; d=google.com; s=arc-20160816; b=yrYgEG2jRRx3YE/xpfox9NkZxNjvoPEDKI/kFTus73EXV0vw2s1SyGGYl4Ln/eUkcp jkzVz7bGoemkUt4Iu2i45cOC5xalDjlAg4mPai/Cd4AO3mg4gchcttoIKwEvfA0nw1em Ka2DpebVdHJGjasI+hCnYYZ8gOsRAsiCAfo8mgW4Ed0h0CGWtDk/68+6Ers6oEBWztQM eaj8sr05gInPFXzWyDTB9PkSavKy7pDlMfERfiiR3IS/3oL/MYX3iARePWR1xm+c55OJ lDop9B6H4gCIzuiUNjkOSfakuwECB3hkBsooVj9XGVflbcTPp/cGW/HcvZkHxMUEbAFq c5og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=lv512/5FKC/gnaA24jGVWYIbYZFlImao6xfTJ6Cfnzs=; b=rKWCog1ygNCrJooovqa7zPZlG5dNtAiKlZdpKxqG6G5B+kgDr6ctoaGBrlsf3YNSwt rySi7R66U/6HfkURm12/DAanZtZpGVAz7ckjlneXThqLUad8eVTzhBoN7wY5y0RyhX8q i7xFlXqnOcBohAZm095xpqdaENkxH+3JFmC4wlCbd/HCmcNxl1iU2iCbvLqyWVzeQ58a t0WN0glbYVUbMcpQdF0Ig1B7jKNLrhV32/Ja+t3aBOyFf9tBeqZWq3U9XTw8MtifHm4M OnKoeg7h23WpueASvSKC7ZVrlsQ+i8JO8yY+H3Y7Ge0m5Dh6fF302GYtfl9eX4HLrAE0 8Lxw== 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 h16-v6si20077725plr.445.2018.08.15.08.31.50; Wed, 15 Aug 2018 08:32:05 -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 S1729535AbeHOSX0 (ORCPT + 99 others); Wed, 15 Aug 2018 14:23:26 -0400 Received: from foss.arm.com ([217.140.101.70]:56268 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729300AbeHOSX0 (ORCPT ); Wed, 15 Aug 2018 14:23:26 -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 7C78280D; Wed, 15 Aug 2018 08:30:49 -0700 (PDT) Received: from [0.0.0.0] (e107985-lin.emea.arm.com [10.4.12.239]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1F87E3F5BC; Wed, 15 Aug 2018 08:30:44 -0700 (PDT) Subject: Re: [PATCH v3 05/14] sched/cpufreq: uclamp: add utilization clamping for FAIR tasks To: Patrick Bellasi , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Cc: Ingo Molnar , Peter Zijlstra , Tejun Heo , "Rafael J . Wysocki" , Viresh Kumar , Vincent Guittot , Paul Turner , Morten Rasmussen , Juri Lelli , Todd Kjos , Joel Fernandes , Steve Muckle , Suren Baghdasaryan References: <20180806163946.28380-1-patrick.bellasi@arm.com> <20180806163946.28380-6-patrick.bellasi@arm.com> From: Dietmar Eggemann Message-ID: <012b7e15-888c-a200-c34b-4fac0f8ab8b9@arm.com> Date: Wed, 15 Aug 2018 17:30:43 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180806163946.28380-6-patrick.bellasi@arm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/06/2018 06:39 PM, Patrick Bellasi wrote: [...] > +#else /* CONFIG_UCLAMP_TASK */ > +static inline unsigned int uclamp_value(unsigned int cpu, int clamp_id) > +{ > + return uclamp_none(clamp_id); > +} Looks like that uclamp_value() is not used outside CONFIG_UCLAMP_TASK areas.