Received: by 10.223.176.5 with SMTP id f5csp2980502wra; Thu, 1 Feb 2018 08:57:21 -0800 (PST) X-Google-Smtp-Source: AH8x226LQRIgGme9YlLBEN2DgHZk708xYUkOH9PKxyN0wMMEH1v1JtZfZVBWZX5KJhV1XA4ynwUm X-Received: by 2002:a17:902:650e:: with SMTP id b14-v6mr32073516plk.451.1517504241736; Thu, 01 Feb 2018 08:57:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517504241; cv=none; d=google.com; s=arc-20160816; b=eBgne0XOVYm/2fni3eLruxucEL/wXqZT6VOLClB5VJEiM5kmutrrapfPX57fSEO1LB pu+GR2U4CmIoZhBQ9ZN2kaxGm38bHls6kh7hwKiZby8qQxSeGEtFesjg9G6nbLL7YJx3 F7zFlY/YOP8vaMnsp7iVmed+XFeOWn2Szjmpcx/ex+1VFLjuCGfWlH2QLF/T8OTVD9+a eMX/YG0cuMlKOnh1MZL6mcKsTAg5XjpCznp9k5BGPITZKwGCntUYB6wDrN3T9+9N9Xyy k+Gg5v8BKLUGw68qTMPxPwjizyC2XjPyLxGhAHvcTp98lNVCy8SuQg0xtxN4RyEA8OwB uUfA== 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=Xj+bkEWEqw9+QAkuCRLAJGXWIGGexAbCDc52fygHJ8A=; b=D0/cHIklvw5ooL4fMxHpi70sVTbiVdJkLD7+nlocct6PSSU8pY2SXq6qYqt55tfX1+ inD18mbdmzOB03sKJK40wPDVD2faYlgq0QNFpGgG/PuQjjl9Kx0DAev2QiQhrnACKLQ6 xWrrbaYYgOVS64u6I8kpqNpS14UwLSN7Tnzja225qZmXyaZh85fQDclrv3990JIZjolu 6PP/ZWp/P5IFuUjNrEWaEWI9yoA6FyAD51TxFbCpqWBiGgdMfbbMO9/k9blc4dKiiVnY U+vn519tIIqh2EJI6IaQGNdjOcACwzV7O8jvLdfx4AjOEFtJy7dQIhby2ehW7eClqbb5 vtUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=2QxmymbH; 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 h1-v6si316600pld.637.2018.02.01.08.57.06; Thu, 01 Feb 2018 08:57:21 -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=2QxmymbH; 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 S1752697AbeBAQ4H (ORCPT + 99 others); Thu, 1 Feb 2018 11:56:07 -0500 Received: from merlin.infradead.org ([205.233.59.134]:55936 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751783AbeBAQ4B (ORCPT ); Thu, 1 Feb 2018 11:56:01 -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=Xj+bkEWEqw9+QAkuCRLAJGXWIGGexAbCDc52fygHJ8A=; b=2QxmymbHpjZHcX176tFCqufb4 gZ6ntT0QuH98/ReJT9AYFbriK7grW36anm6HFRdGYct4c1hylOL69/5K9PP8V8CCr6yNuyKsWhapw jcbkjFSStDhatynOVbVXjpsCt9l1f8+eoV/XAq3BAyN0tQT4ZAZKs94wH+Rdb+Ln/ZjoUyn0Mmuj+ 9il1onVyHQnlJv+3RUE/e4gmWjpqruN1lidm4ixfTgnk0vwOQSNcDKbsnK9Smap46GWe+zujkPggC hLiikulR7JDRiyOWI2d4QTceddPlHFYfJ2Aj9DLHKm2cOzq8mKzahqknMOQLWT90i47QjjM/JWE7Y TMh4qy8LA==; 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.89 #1 (Red Hat Linux)) id 1ehI9W-0007L7-7V; Thu, 01 Feb 2018 16:55:58 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 080952029F9F9; Thu, 1 Feb 2018 17:55:57 +0100 (CET) Date: Thu, 1 Feb 2018 17:55:57 +0100 From: Peter Zijlstra To: Morten Rasmussen Cc: Vincent Guittot , Ingo Molnar , linux-kernel , Brendan Jackman , Dietmar Eggemann , Morten Rasmussen Subject: Re: [RFC PATCH 2/5] sched: Add NOHZ_STATS_KICK Message-ID: <20180201165556.GD2269@hirez.programming.kicks-ass.net> References: <20171222075934.f6yenvcb2zkf2ysd@hirez.programming.kicks-ass.net> <20171222082915.4lcb7xyyooqyjpia@hirez.programming.kicks-ass.net> <20171222091221.ow5vn3ydx3hj4nht@hirez.programming.kicks-ass.net> <20171222185629.lysjebfifgdwvvhu@hirez.programming.kicks-ass.net> <20171222204247.kyc6ugyyu3ei7zhs@hirez.programming.kicks-ass.net> <20180115082609.GA6320@linaro.org> <20180118103807.GD28799@e105550-lin.cambridge.arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180118103807.GD28799@e105550-lin.cambridge.arm.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 18, 2018 at 10:38:07AM +0000, Morten Rasmussen wrote: > It seems pointless to have a timer to update PELT if the system is > completely idle, and when it isn't we can piggy back other events to > make the updates happen. Only if we do that update before making decisions based on the values. The thing I was bothered by in the earlier patches was that wakeup would use whatever current value and async kick something to go update. That just seems wrong.