Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2972727imm; Thu, 17 May 2018 00:51:47 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqLHXWWydNnSjVvc5CbH/3skG4c+yYKsPlY1hzO0j3ZQrxRQvtgHsGGojPJgo0c/Kkkzqbt X-Received: by 2002:a62:78c:: with SMTP id 12-v6mr4215964pfh.178.1526543507940; Thu, 17 May 2018 00:51:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526543507; cv=none; d=google.com; s=arc-20160816; b=g1tYQuNVAIJD15Kzlo+f7Jl25nuDZ2i8G5eEOgyoeYxhET1AKfyHp7uK3V7ozHJ0Y0 LK5G97RsSbX0pCkQaY7mV/n3z4Wf6ufEw3yDw90f8wP2z99cwpAiTGc2bulJB6csOJMw h7Z7sT/TBLEbQ5lVGwWe+o057LK/vJmVDX+2v9RVj1MzDLxozvPRREgkuiEKN5smWVqL CkgD9o5hVhfOwaM8hw7VNHNbnsBSJv5zwxWUKC/iRO4qyEYQuBgwAdq/mD8Inrb04DHT emqqihlW1nj/96XlxaqggVNRgamKmySbJ6YhgOic9yB6W+FbxdBNhzWEKeL065sp3AOe 8kSQ== 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:arc-authentication-results; bh=psZ8RJ2faQdBf8oxTZHfYd1Ls20k/OXu4YBEZlHh6kQ=; b=0mcZ9x0xju+cZBexbGf0HYXvG78QcgLCY6lZfupqQ8xgIlwEfJOYA17bjtgOqDni8I x2B2KGSQ0khwkLBvfhGC9cvjrf8CLlVC3zQi7aPLRdzHYfQRzjDuh2fec+wnZt2pJ0sx 0JlxKdo+5lxOjrYJj5lgCZV7IMZlfpVfTzQb1FWw6am5jP+CsJ1cWBlV5RrXnMNW1B0f Z1AeaNzmUhs4Xl1zTbpoVdRau6E/keXCENe6ybSn+D/n/0mq22Ulx7PIs5Xq8O5R+tjF KeMiWp9Nih4posgBDI5G2bog/49QJiTKZomSw0P26aEm3woa/i8FFUozlFX4TBdhxx4C lb+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=AsEmydp4; 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 d17-v6si3617228pgp.214.2018.05.17.00.51.33; Thu, 17 May 2018 00:51:47 -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=bombadil.20170209 header.b=AsEmydp4; 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 S1752452AbeEQHvU (ORCPT + 99 others); Thu, 17 May 2018 03:51:20 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:49348 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752392AbeEQHvT (ORCPT ); Thu, 17 May 2018 03:51:19 -0400 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=psZ8RJ2faQdBf8oxTZHfYd1Ls20k/OXu4YBEZlHh6kQ=; b=AsEmydp4rq79p7EfA2yLmZ894 cDqunh8oBkS8HQhBremT4Lz41yQfR9i1RoCJd4v25IJQx7VgJOTpe2RrmcLeYadDf2ks3rGS2kq3S /rbg4a+s2e2A7EU04pwwmryrau0aGsbad2S30f3cWz+PwEPAdV9N6na2tAyATAG3YPXiJsYwptLw1 iFjj9Ji5DkE6UvPrfupG1cS3Y+kJCzAOBay5NDVjj/QSN/s2LRRDyk2tAwXkdx349LuOAdr+oFTLh z+e6+ikK3zxxRr4ji10KGQulwqYlrOSinE7uyQbCCmO4cLeAsDS0A9ZkAc2a5bPhpXbudOQe39aub E3ZZxrQfg==; 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 1fJDga-0006F3-1C; Thu, 17 May 2018 07:50:52 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 89BD12029F86E; Thu, 17 May 2018 09:50:50 +0200 (CEST) Date: Thu, 17 May 2018 09:50:50 +0200 From: Peter Zijlstra To: Srinivas Pandruvada Cc: tglx@linutronix.de, mingo@redhat.com, bp@suse.de, lenb@kernel.org, rjw@rjwysocki.net, mgorman@techsingularity.net, x86@kernel.org, linux-pm@vger.kernel.org, viresh.kumar@linaro.org, juri.lelli@arm.com, linux-kernel@vger.kernel.org Subject: Re: [RFC/RFT] [PATCH 06/10] cpufreq / sched: Add interface to get utilization values Message-ID: <20180517075050.GL12217@hirez.programming.kicks-ass.net> References: <20180516044911.28797-1-srinivas.pandruvada@linux.intel.com> <20180516044911.28797-7-srinivas.pandruvada@linux.intel.com> <20180516081155.GA12217@hirez.programming.kicks-ass.net> <1526510439.61700.109.camel@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1526510439.61700.109.camel@linux.intel.com> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 16, 2018 at 03:40:39PM -0700, Srinivas Pandruvada wrote: > On Wed, 2018-05-16 at 10:11 +0200, Peter Zijlstra wrote: > > So I _really_ hate this... I'd much rather you make schedutil work > > with the hwp passive stuff. > Are you not happy with ifdefs are utility function itself? Can you > explain more how this should be done? The reason I hate it is because it exports data that should not be. We created the schedutil governor as part of the scheduler such that we could tightly couple it. So if you want to use all that, get schedutil to work for you.