Received: by 10.213.65.68 with SMTP id h4csp1389921imn; Mon, 19 Mar 2018 02:50:36 -0700 (PDT) X-Google-Smtp-Source: AG47ELt6Wdg/fzLU9TBvVwNxLZ9MB3yHUVs+XpxKqZoj2DYLA39MSZ3VkUJ25D/4sToR8dFqDXc8 X-Received: by 2002:a17:902:43a4:: with SMTP id j33-v6mr11686336pld.247.1521453036010; Mon, 19 Mar 2018 02:50:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521453035; cv=none; d=google.com; s=arc-20160816; b=KLnAyhWtdz0PkXzYjboHquLrdM7s15jSUqV3v7URUiXx5tXPHIpGBNaHsvxns2oYHu nqX5IcdOP8FVfBlnl7N6M0eeRJFJ6n+J7x5BNjZS2h3Pyl9WflYGa51OOjTdpCOKKvQv NvCrEvixdJdlskvnN0o4jfTFzDU/HYupOJNY38eC8Xph/08VbUSQaf/yD/9PSszyR6I+ 6IdC2vJu51Ktig6zdFm4Eu65s7K4PqPZ54xGnMQ0VIyEP2ijICFpBKFq3Y7wep2RnZw7 tymQ9xp49MdXjf9uGYy4NtXxCRMjBIPHjbqZzv8O9NDR9bQjbV/U30xqX5HcYXjaP3EQ 1Lgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=0MnnuXM+kOWd2nnVSFqFqy/LO6fYStvsL6m/a/7q8ts=; b=mAamN6iWQtI2xrSKnaq5knlz2KJrPNHCYvpCpHNFvqA/p6AK5imvaNPdnPwsE39vbt teHe9bxKWb+Bzc735TCkRQWmS4DDH6tshIjINHk7L19LHW+G5C2jKK9qYTswy4j9Pz1s 4ThpNL5ha33fHjFYWcHotGjFjoEJhdnv73mh9LfHRhBllbromI247xutxBKgqek+OYR0 vkm7O37wZdQpYz36VU3pWK3yY985ujZfc+rOSH4rC+fbTLNBw4+epiHITZKvKYZq9zEo mp+hQIxuJY3bqzaIzCmLiQAQ9R842tLh5Jn6QOsuQyTVGJRd3cnxtrHbivBo89Gkvl0W 4oRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=ScIfYjDL; 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 v41-v6si12004943plg.686.2018.03.19.02.50.21; Mon, 19 Mar 2018 02:50:35 -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=@gmail.com header.s=20161025 header.b=ScIfYjDL; 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 S932567AbeCSJtL (ORCPT + 99 others); Mon, 19 Mar 2018 05:49:11 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:39589 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755299AbeCSJtJ (ORCPT ); Mon, 19 Mar 2018 05:49:09 -0400 Received: by mail-oi0-f65.google.com with SMTP id q71so3503346oic.6; Mon, 19 Mar 2018 02:49:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=0MnnuXM+kOWd2nnVSFqFqy/LO6fYStvsL6m/a/7q8ts=; b=ScIfYjDLKthzGRaYa47QI6pO/puQDn7Zuo44FFxAS7VmlrRzkK9HNXbkR7hlyBWXYc /L0cXc1I7xPP6gpf/GDpw04kF5RQCbInNJeflBZAg7uqXzNiVo/dhvIJjzCgzXFlk6cu RdOLOtOFRBoSsyXGFlux0BOjbK3XXI7GbShpXXjG/Ti/02fx11rN5tllR/ZK6/VuIyPQ n5E4b6cZTdezBXnQVQ5LUXQRblYSL5sFJ9lJTVSzHCoe16aW+Rn/Q2ftRaAlbF4f66Zk ZHRuaHpN/R4tKGJAEoEtHZVUpC1By+K+0Ll4LxXNhP2WlvpiNbce8yWqriC7tf4/x2K6 bihQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=0MnnuXM+kOWd2nnVSFqFqy/LO6fYStvsL6m/a/7q8ts=; b=HqSILzH6nt8N2BKRwTH2g/frwV9hQodefTxzM9hEYrh1G+4XLqVL9HOUttGvMO+uXh twAPBP9LHFj2uSZTckudZKE7B4xbaBxrNuQ7lnWVrtBnQWHVGnf80MsF3lPJI7Yf9GB+ eTPIbISTXrag4w0t7AOVjA+uKEOcBx6cJXtoB+RrFo5fzWXevoxvEi0zaZqm84kzUFqB 3Ldaydc3JIhPAdLeuHozES2ZSgGvQ7fYecrKHYi5UdcucL9XaUU/RdE0rab+1zUisKT9 WKT3Ah3gQpxMGIzIrmea0Qd9L0Ea7z/aIGm8qqoXdonMcPGfSQnVUH4WfZI4hlAblyhF ySKQ== X-Gm-Message-State: AElRT7FytWd7CD0CWr88lbbkoc9n2EoLJxWKNdG5AZx9RgE7ClDFPEom cFkgyXni/mDRggXUaSh5flYCcH3lj0xWJawwDhI= X-Received: by 10.202.226.149 with SMTP id z143mr6292480oig.154.1521452948879; Mon, 19 Mar 2018 02:49:08 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:9f7:0:0:0:0:0 with HTTP; Mon, 19 Mar 2018 02:49:08 -0700 (PDT) In-Reply-To: <20180319094549.GG4043@hirez.programming.kicks-ass.net> References: <2142751.3U6XgWyF8u@aspire.rjw.lan> <4980385.RayypyZ8dA@aspire.rjw.lan> <20180319094549.GG4043@hirez.programming.kicks-ass.net> From: "Rafael J. Wysocki" Date: Mon, 19 Mar 2018 10:49:08 +0100 X-Google-Sender-Auth: T8rcv-supiNZJae54R5yGhhod04 Message-ID: Subject: Re: [RFT][PATCH v5 6/7] cpuidle: menu: Refine idle state selection for running tick To: Peter Zijlstra Cc: "Rafael J. Wysocki" , Linux PM , Frederic Weisbecker , Thomas Gleixner , Paul McKenney , Thomas Ilsche , Doug Smythies , Rik van Riel , Aubrey Li , Mike Galbraith , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 19, 2018 at 10:45 AM, Peter Zijlstra wrote: > 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. OK, I'll change that. Thanks!