Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3044625imu; Wed, 7 Nov 2018 04:12:10 -0800 (PST) X-Google-Smtp-Source: AJdET5evm0hPRp641JYkZoqZ8h29raCfdDir5Bes2FP4mmHqlEOJ9JqFbZcKLXQYjkVk10aaBapS X-Received: by 2002:a62:704a:: with SMTP id l71-v6mr1594473pfc.68.1541592730275; Wed, 07 Nov 2018 04:12:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541592730; cv=none; d=google.com; s=arc-20160816; b=b1ejiTWTXQfh4kRdUxqYv8dH5HyLh7UP16LHxHQwYkmS/xNQoyX8Nwode+c+DxKpGX oUQJF2H34m9gLevOQfArj2Gbo7TAPa+cQyjDruBO6nEzJbiFMlvd5LRqMlrHEshQWfr7 5A7UeiZ6wuUe2PJIm4pKyG+228dmP9zVYqQCCt92n+Fr62L+5HdJsNn2dYtD/78iQZSj adJTeYVV753wqrdkiynyKHnRC8Ma0N99Dn05fM/j5IqFnECKIhU72fVIf94PB1Iyxm/E HvChrV6iK7p9R2bi41rzGQ18R26iTn3Jc8K/SwODT4LJK7X5K0hrDo4Gnfl9ceLVolfo d0MA== 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:dkim-signature; bh=FsAUNDwhbnLrJJRn1c3CpMgWLoumr1Q/EjqsG1h7o2A=; b=QbSF/vX6RZWnNA1UdfLH6H3Zs8S7LYLJp9lInHcmDSX7JjHLu1f+zscp1Nh4P5TO4/ dbBFM/uh0SC6zdGvV01fZmtMaZhR1Zz15aHFFRCIf5jts1Lpu1Qa0Xu5+oZuqETDWEqm cb3WthiWTDuGvD0AZrkE8PxHS/yKw3UsKsSd5OHf96cG78J8FUfpCw2mFZbFFaWj0Wii AVnmurlSnUMPuFTshxRo/z8nQaq6y2RD1ecsW0FbPy2YyrjKodoslIT6hqh9H1bJIXbC UY9Xp1fVKMZUD0zUdR4jt9OZHdMuz+wN0dDAjjvPrjJeWbPHPw8XCCtTaqcwySlG0NmI Wh2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=pbzZO34k; 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 b40-v6si503426pla.285.2018.11.07.04.11.55; Wed, 07 Nov 2018 04:12:10 -0800 (PST) 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=pbzZO34k; 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 S1730742AbeKGVlk (ORCPT + 99 others); Wed, 7 Nov 2018 16:41:40 -0500 Received: from merlin.infradead.org ([205.233.59.134]:58946 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726392AbeKGVlj (ORCPT ); Wed, 7 Nov 2018 16:41:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding: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=FsAUNDwhbnLrJJRn1c3CpMgWLoumr1Q/EjqsG1h7o2A=; b=pbzZO34k4T1rQz3XiCdyPu39N IWC7rDmIcIvZyaLTU97ocefO6hzf+UbJ3UF/FOMGdYxCzPp0T/K2vqotQlmn5eBC/1ClNqwqnj9eW KBLcKZjWdcBERlUq5mNw0TTRJVZgFP/f+R0Xih7hkQ43DpfH98itZYB+pNeevNc36+8DPsrUJf0cw aQqCOV9RI4KkrTSg99zyEXMwBHlHWR4iZM2y8N29fB6Cut3vgqgmOHgiVk7Tobb8wLtJDmKWrkQDT K+ohBT9uRaN17Ny2VUKlR9HxhBMWgu41zKK1cl/bSKZAn65Jj9uqU/GCzjbMSS5gZ8izlaQKW3zDH 1cID3+u0w==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKMgC-0005UR-17; Wed, 07 Nov 2018 12:11:28 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 2ABEA20284F94; Wed, 7 Nov 2018 13:11:26 +0100 (CET) Date: Wed, 7 Nov 2018 13:11:26 +0100 From: Peter Zijlstra To: Patrick Bellasi Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Ingo Molnar , Tejun Heo , "Rafael J . Wysocki" , Vincent Guittot , Viresh Kumar , Paul Turner , Quentin Perret , Dietmar Eggemann , Morten Rasmussen , Juri Lelli , Todd Kjos , Joel Fernandes , Steve Muckle , Suren Baghdasaryan , linux-api@vger.kernel.org Subject: Re: [PATCH v5 02/15] sched/core: make sched_setattr able to tune the current policy Message-ID: <20181107121126.GN9781@hirez.programming.kicks-ass.net> References: <20181029183311.29175-1-patrick.bellasi@arm.com> <20181029183311.29175-3-patrick.bellasi@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181029183311.29175-3-patrick.bellasi@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 29, 2018 at 06:32:56PM +0000, Patrick Bellasi wrote: > @@ -50,11 +52,13 @@ > #define SCHED_FLAG_RESET_ON_FORK 0x01 > #define SCHED_FLAG_RECLAIM 0x02 > #define SCHED_FLAG_DL_OVERRUN 0x04 > -#define SCHED_FLAG_UTIL_CLAMP 0x08 > +#define SCHED_FLAG_TUNE_POLICY 0x08 > +#define SCHED_FLAG_UTIL_CLAMP 0x10 That seems to suggest you want to do this patch first, but you didn't..