Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp561771imu; Wed, 23 Jan 2019 01:23:38 -0800 (PST) X-Google-Smtp-Source: ALg8bN4aHt/1Fr6PP6NFwFLUVCBkDOtFxYR0VO8pkYb31IL7broBtq3BzMQDgVFO7q+BiDITDIx6 X-Received: by 2002:a62:670f:: with SMTP id b15mr1381132pfc.212.1548235417783; Wed, 23 Jan 2019 01:23:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548235417; cv=none; d=google.com; s=arc-20160816; b=xkAqQvPxbF8goAtPNAEZ+b9XPKJstD/LDafbysr0fqvp/RaHj4y5myoCMIkFTZf5ZX SkEFRNRfwS05J8hMtl3BRrZuoxk0MdNu5QoblclVwPZ5z7tIvCfVJ7T8qc+a771hCFwd 5Paz2qplQl6br+9hD9XW8eoI2vZjSL33jA0dY0FnutqP3Q+1cSpiRrKmonuc/V/Ap/sk a83hFLvO2f11GrS92873MJABJUfQiooIdqmNLzNZSw74pRFttkqlN0sv40ZF/Ejc2oYt b0P0akhIRwr7CZDQjFg9QEcKuaySTeUu976NZFR3MG6u2sM1OguEFWa4E3KxUBL7Rpfu kbHA== 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=VLlTIIrH5qLsPjaslKHuo/k0NeQTHW2baqg2WbBpwOM=; b=RXhvKqi73e5293iel+mL51GaUJw2JfHBXL4FOpDkcL+zz9dwhQif3mqFstBkWhaUzg a5k7dV4H5sRrQE5wX7dKKre/s85779NSAfP6M1CCJIqqkv/zbqmOZblItIcMTp2Q4+K8 Bt6bXV7tZLn2+U6XOsRaS1GA195ho6xfzKcSvp130xLDcEvv5Nox9dLPCSYravarvaxV PqKFFrnE/Imzns8ItVeDEAi84uHfVBxJrGYCP5N8ORpK0q6F4tTyXwniwdLSQkZ5yO/T zW+HDNUVHOXHSpInQLyPuCd7hay8xbH1a5NPEgY2iq9MSQZCGAEnAyO9v523py/I2OBo qWaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=jqsZg6J9; 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 d2si17565102pfe.159.2019.01.23.01.23.22; Wed, 23 Jan 2019 01:23:37 -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=bombadil.20170209 header.b=jqsZg6J9; 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 S1727044AbfAWJWT (ORCPT + 99 others); Wed, 23 Jan 2019 04:22:19 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:46718 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726373AbfAWJWT (ORCPT ); Wed, 23 Jan 2019 04:22:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.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=VLlTIIrH5qLsPjaslKHuo/k0NeQTHW2baqg2WbBpwOM=; b=jqsZg6J9R7TGfyuEnRemmlgVo 3xIqnrzahfAcLO+P/pyl3xYg4YWuqPR2hO6XYP1WtIW+s8L5+cVgsugZ9xG9QVLc00Ehx7BTbHnTQ fzTOgIKfVyUd0CuTn/SStGG1bBhlIhreUVCt1X/ebcE00Wf3hfuzs03Dmp5vEAv8wRcY8HqanDS/5 +sN5Gx7WtqVgowxGz4QXC7c7HGxPq4DiPbYFl9DeIwGMd+xOfzBzbtSwFZeTNPliQ/cT3swGteTsk yB8wpqHoZWwF/i8P0trmnM0QAqjWNO2s/35mx8bQRiCUqlHlBKMwW1CVXKRuiv6aSqRsEJvepQTTZ C5/yQ4N2g==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gmEjc-0006LG-Fw; Wed, 23 Jan 2019 09:22:12 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id F3D2C20D1580D; Wed, 23 Jan 2019 10:22:10 +0100 (CET) Date: Wed, 23 Jan 2019 10:22:10 +0100 From: Peter Zijlstra To: Patrick Bellasi Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-api@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 Subject: Re: [PATCH v6 07/16] sched/core: uclamp: Add system default clamps Message-ID: <20190123092210.GU27931@hirez.programming.kicks-ass.net> References: <20190115101513.2822-1-patrick.bellasi@arm.com> <20190115101513.2822-8-patrick.bellasi@arm.com> <20190122135644.GP27931@hirez.programming.kicks-ass.net> <20190122144329.ziimv6fejwvky7yb@e110439-lin> <20190122151317.GH13777@hirez.programming.kicks-ass.net> <20190122154129.mxnpgaoxnccbjbch@e110439-lin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190122154129.mxnpgaoxnccbjbch@e110439-lin> 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 Tue, Jan 22, 2019 at 03:41:29PM +0000, Patrick Bellasi wrote: > On 22-Jan 16:13, Peter Zijlstra wrote: > > On Tue, Jan 22, 2019 at 02:43:29PM +0000, Patrick Bellasi wrote: > > > Do you think that could be acceptable? > > > > Think so, it's a sysctl poke, 'nobody' ever does that. > > Cool, so... I'll keep lazy update for system default. Ah, I think I misunderstood. I meant to say that since nobody ever pokes at sysctl's it doesn't matter if its a little more expensive and iterate everything. Also; if you always keep everything up-to-date, you can avoid doing that duplicate accounting.