Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp366135imm; Wed, 29 Aug 2018 01:55:53 -0700 (PDT) X-Google-Smtp-Source: ANB0VdblLMbkTeiYmczUGdbsDlJdxeOCI+wNcy+LdjJwJu9QK7BfvfWKWz+F2c52fuHVXeGpiEI5 X-Received: by 2002:a63:d70e:: with SMTP id d14-v6mr4921536pgg.110.1535532953067; Wed, 29 Aug 2018 01:55:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535532953; cv=none; d=google.com; s=arc-20160816; b=MzpmIC6QfRxAHlJZ6ZdL0L5bNaEbYdwqY2W0ykFmWiTUrCol2KYUuZxfJecOtCXCnC e25Dv/SO+eePFYk7g6l3GaFQKx6rF0IZ6x0A0nU61c901Rcr0R1pLeL/2SsbvacH5Z+Y tsUEP7JIxBhVZjcqgxWCz53yuyF4ELNszDJU2RF4C0AgLcUMDpu3rHvFCJkRJX658iEK SIkmHJ5/cvv4ktbPvPJkMe5p7b+T4vzVXvBjndKYeGAzIaIp4coOFX7kvnw0VjmQ1qVd Vzk19LRwf4B+pEdIZqWepfStesxOKvSpgpwWkEsdGsg+qYAA6CXxztPIZpQHFKNpTWEB iJLQ== 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:arc-authentication-results; bh=sG9WNfz64mOzo1WDAMh6LnTEev31A1fTefYiRzyaxmc=; b=Tmsq4VgmM6xtzAS+jVfRs00n6wdxFXdFsC71oVzUk3umocMLRwCjOzOVGyzYoHnLKK 9tahf9oa6kzjXru0UgEicoC/OSIKOANMYKaHT4Or5WwV7yBfo9z2+N7vriR9xoKu9puz G58S278l6ffHKtPOYq5U+dz3IzlxT6/oLvqONrt+Q2DN/JHjc5K3wEgBCWr4SzCFJbEB JlT9X4E9423eqQnISn/h7Hy5oo+G2eMVL44niFoufOBa8XCDW93XADTQysjbkcNNbrJg Whd85QjC0GF+We9BWVS9ckbddSMC1l6a9JLn6F9n/9q8jVDSk+5lK3wUldPVYLJtmnpq V5Aw== 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 o188-v6si3117572pfo.236.2018.08.29.01.55.38; Wed, 29 Aug 2018 01:55:53 -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 S1727973AbeH2Mt4 (ORCPT + 99 others); Wed, 29 Aug 2018 08:49:56 -0400 Received: from foss.arm.com ([217.140.101.70]:50532 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727492AbeH2Mtz (ORCPT ); Wed, 29 Aug 2018 08:49:55 -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 C0A9918A; Wed, 29 Aug 2018 01:54:03 -0700 (PDT) Received: from e110439-lin (e110439-lin.Emea.Arm.com [10.4.12.126]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CFF7E3F5BC; Wed, 29 Aug 2018 01:54:00 -0700 (PDT) Date: Wed, 29 Aug 2018 09:53:58 +0100 From: Patrick Bellasi To: Randy Dunlap Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, 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 Subject: Re: [PATCH v4 07/16] sched/core: uclamp: extend cpu's cgroup controller Message-ID: <20180829085358.GO2960@e110439-lin> References: <20180828135324.21976-1-patrick.bellasi@arm.com> <20180828135324.21976-8-patrick.bellasi@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 28-Aug 11:29, Randy Dunlap wrote: > 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). Right... then there's definitively something broken with my vim reformat shortcut, which sometimes uses spaces instead of tabs :( Unfortunately this pattern is not covered by checkpatch, which returns not errors/warnings on this patch. > > + > > + If in doubt, say N. > > + Anyway, thanks for spotting it... easy fix for the next respin. Best, Patrick -- #include Patrick Bellasi