Received: by 10.213.65.68 with SMTP id h4csp1388425imn; Mon, 19 Mar 2018 02:47:23 -0700 (PDT) X-Google-Smtp-Source: AG47ELvxmzQTYG/TvylxeMDx8QOr78G0ud2A9f9imS2QKVyztBijtpISIot04Qi5SGgPpPfxFcYh X-Received: by 2002:a17:902:2e43:: with SMTP id q61-v6mr11614506plb.404.1521452842988; Mon, 19 Mar 2018 02:47:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521452842; cv=none; d=google.com; s=arc-20160816; b=PRGdokdAzgPjVwyl+6l4wQkbzKDjgYrImTJE3fN03qAhgsLkUvDjT1sUKwXr6dZGeL mhTCBJp6WpJD5zDj2qI3Gt/03WXKBafjqv9dBRe3P0sxiINbvS4d+YPx+Pba/OXhdHBR ADHJUWeMsmtRnlILBuVbeRb2KeKTQ2qiy3ONgl8t+n6Bb2hBzHLBFm2Nbam2p3Ffzlgl E5JLhz/5fIU5VIQilV5kX92jP8dch1TboYFmd1eOLT9YC0pmwuWIfNqEFyzBUIjjrR0j fuK2emyrrEk1cN5h3DPY5JgKRLbZ9YpVYQAky14YArp50XcksVkwESw+uuihuMbmFfVe xqWQ== 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=+saIFWbb6iBW5Tkn4luMUaG8AqhqJXfr32Kd7vl2X2w=; b=lKFQ1qrZ9biA++FaJQu2w4zMG2EGK/Zvyg1KsEbAHjkA7S16xkEEF5vvD6XggatnNj YYS0sl58eJ9nO9GqZCCj0o4VT6yMRT7oxnd/59kuhuUHo11ZU2bZNZV4wVunjYsRxNlB yxI4qXMuHR6/vOsIsdz01KSinfnzkhdS2Snvku/xgiEcJlF7ccUmOYUh/05oJ3fZqEia GXpFeMC7i6jaGI40/id58VAkk56vn6vfHma/30yqv0RQYOlm4BCpMmGDdaTaa9VxlofA 9zLiB1Cw4QNUPw4jPQkNzLHY8sfWN9BQL+axJImbNw5sH8Vxp+XcRGxFwkR/UD9j/7iO MbtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=xHMAK85R; 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 n18-v6si2672079plp.619.2018.03.19.02.47.08; Mon, 19 Mar 2018 02:47:22 -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=merlin.20170209 header.b=xHMAK85R; 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 S1755398AbeCSJqP (ORCPT + 99 others); Mon, 19 Mar 2018 05:46:15 -0400 Received: from merlin.infradead.org ([205.233.59.134]:47142 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755291AbeCSJqN (ORCPT ); Mon, 19 Mar 2018 05:46:13 -0400 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=+saIFWbb6iBW5Tkn4luMUaG8AqhqJXfr32Kd7vl2X2w=; b=xHMAK85RdHeBim5evwgBWEQwr Ok9FBOPqDaLhnU/UW7vLmvS9LPSqz2yxQAF5SV14EZosyZddAiBtfmjM5dtdsBuRb9G0phrFpuT4V NTQ8ceugPb8fHwGDP7IW1ZzVcN5pO5M9LDH5Roy62L08rqRnkJrU/NMMYFLGFVBpPJHtzG1v7AL4X 5W0RJgMK/Q2rWbPnySwQfT3jVBt0iIpc7JJ1YGrX0mDoDQeALQI3yuSCaWWMSCYxh6F7LwlqVmWOA hic8ilhFhw8mrwkw0lqu9/ROJti1nIWRsgbflU2JNswhHnQEFJxZkuG9yoAX5/L2zzQanKr8DbnOr Y35XkOo+w==; 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 1exrMW-0000ln-7m; Mon, 19 Mar 2018 09:45:52 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 6CA142029F860; Mon, 19 Mar 2018 10:45:49 +0100 (CET) Date: Mon, 19 Mar 2018 10:45:49 +0100 From: Peter Zijlstra To: "Rafael J. Wysocki" Cc: Linux PM , Frederic Weisbecker , Thomas Gleixner , Paul McKenney , Thomas Ilsche , Doug Smythies , Rik van Riel , Aubrey Li , Mike Galbraith , LKML Subject: Re: [RFT][PATCH v5 6/7] cpuidle: menu: Refine idle state selection for running tick Message-ID: <20180319094549.GG4043@hirez.programming.kicks-ass.net> References: <2142751.3U6XgWyF8u@aspire.rjw.lan> <4980385.RayypyZ8dA@aspire.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4980385.RayypyZ8dA@aspire.rjw.lan> User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 15, 2018 at 11:16:41PM +0100, Rafael J. Wysocki wrote: > --- linux-pm.orig/kernel/time/tick-sched.c > +++ linux-pm/kernel/time/tick-sched.c > @@ -1031,10 +1031,11 @@ void tick_nohz_irq_exit(void) > > /** > * tick_nohz_get_sleep_length - return the expected length of the current sleep > + * @cur_ret: pointer for returning the current time to the next event Both name and description are confusing, what it actually appears to return is the duration until the next event. Which would suggest a name like: delta_next or something along those lines. But 'cur' short for current, is very misleading.