Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp7410838imm; Tue, 28 Aug 2018 11:32:32 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdb0JLt2sP9UzO0cq77w3JKQ5Z4auso1nIGm4EZHc+bXOZ6j9YDRvPTf15Oz5auSaaexEaFs X-Received: by 2002:a63:b914:: with SMTP id z20-v6mr2612932pge.396.1535481152439; Tue, 28 Aug 2018 11:32:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535481152; cv=none; d=google.com; s=arc-20160816; b=VCevwFSWx122awsdKqxjFHaZM+sRuEpeMF+bQKo5WZkB2TP+WJDen7uEb71DyR9Mt+ ZzbfLDaZTKIUi91WP7tsk3DJRgpoFAnNDhdG8j+GhL59ngudKUZKD15WggWprvjis9DL ngBUIxO8Q/xxMdk0g88r7y8QN/ixt3iBBWYLN7zCr+RTUgYRwxpLzOZ1zz943VSLEA6n t1KgrOwqLxkc9pZxA5YRuZCQPxzoupwscYqb5GVbKOvasE/Fp4/AEh5/2AuBO33Gevul 7M3NC/6MVg8I+uxkUytT0YQcuWY51MnadWiOi+b453gQQhpsOG3+WuYR9CaUezZkHauQ YPkw== 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:dkim-signature :arc-authentication-results; bh=iJPoBcgz0duNyq8AStVYAktRorwejQEUhD7IQC46ZhQ=; b=cZwrnCsWecgQc/GufxT01ACgwWP6X6RTWzjcyOZzdKb/fAC1zvVnBXYVvbG3bYH3fW 5PyLNlL0JDXuGIIhSSFLTh7BKMBvZg2Pb16J2a4eIyyj9eNtIX+KjxGwj+sSu9P9UIJY AdGibBTQweBRiPv91E3PWwmoWnDgPF82+OFNO/8BbIaVV6I/OQtWemGbw2t7VJPoAAF5 Bu+6dlbh/jmDRv6VK3hDgSWdYYFUwNSk/YUdHCC6BgP02wpj0b3aY7WKKGKCaKEYLkuQ ceZaMnwgzt7TAIAvh6NBDZvwVRSKuq2JaiB73C44CMz2l2NrkmgeYJvzLRRxwzzSYyb6 MUUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=TkSt3hfe; 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 d20-v6si1596733pgj.535.2018.08.28.11.31.53; Tue, 28 Aug 2018 11:32:32 -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; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=TkSt3hfe; 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 S1727181AbeH1WWG (ORCPT + 99 others); Tue, 28 Aug 2018 18:22:06 -0400 Received: from merlin.infradead.org ([205.233.59.134]:45488 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726383AbeH1WWG (ORCPT ); Tue, 28 Aug 2018 18:22:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=iJPoBcgz0duNyq8AStVYAktRorwejQEUhD7IQC46ZhQ=; b=TkSt3hfeUdZXTDOlmbjn1JXeM6 AY6OCWE8Sug0adQ700ibUPXAGiUS6ofFR10eONR/zEYC3OXAuA8CLtYX+cNkduJhi39k7/rmxdYP0 PNPzLYlQAUnzaJ0f01w1e6m8/01RyZuiF0ZIzYZ1dfva/Fb+oqaNSa0e0z19iJNndQZHsOAkhIoKz 7WBIhyrGRQWzcyGR7skp321rOF5hVDJfWtpf40ARVHkk06fpYpUrx7hVQtgmBvmbvRVNa35QH09z+ pdwXG4D3DOZk5gFbpIPVHjHtDTTeXMrp4HMxXKRgVSt3qE6fi90Y++WsHu3yiCphUhyDDFyjQWKgV O5QXfZYw==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fuijf-0002oz-94; Tue, 28 Aug 2018 18:29:03 +0000 Subject: Re: [PATCH v4 07/16] sched/core: uclamp: extend cpu's cgroup controller 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 , Quentin Perret , Dietmar Eggemann , Morten Rasmussen , Juri Lelli , Todd Kjos , Joel Fernandes , Steve Muckle , Suren Baghdasaryan References: <20180828135324.21976-1-patrick.bellasi@arm.com> <20180828135324.21976-8-patrick.bellasi@arm.com> From: Randy Dunlap Message-ID: Date: Tue, 28 Aug 2018 11:29:00 -0700 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: <20180828135324.21976-8-patrick.bellasi@arm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US 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/28/2018 06:53 AM, Patrick Bellasi wrote: > +config UCLAMP_TASK_GROUP > + bool "Utilization clamping per group of tasks" > + depends on CGROUP_SCHED > + depends on UCLAMP_TASK > + default n > + help > + This feature enables the scheduler to track the clamped utilization > + of each CPU based on RUNNABLE tasks currently scheduled on that CPU. > + > + When this option is enabled, the user can specify a min and max > + CPU bandwidth which is allowed for each single task in a group. > + The max bandwidth allows to clamp the maximum frequency a task > + can use, while the min bandwidth allows to define a minimum > + frequency a task will always use. > + > + When task group based utilization clamping is enabled, an eventually > + specified task-specific clamp value is constrained by the cgroup > + specified clamp value. Both minimum and maximum task clamping cannot > + be bigger than the corresponding clamping defined at task group level. The 4 lines above should all be indented the same (one tab + 2 spaces). > + > + If in doubt, say N. > + -- ~Randy