Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758953AbbKSTGh (ORCPT ); Thu, 19 Nov 2015 14:06:37 -0500 Received: from casper.infradead.org ([85.118.1.10]:43998 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757028AbbKSTGg (ORCPT ); Thu, 19 Nov 2015 14:06:36 -0500 Date: Thu, 19 Nov 2015 20:06:30 +0100 From: Peter Zijlstra To: Jacob Pan Cc: Thomas Gleixner , Ingo Molnar , John Stultz , LKML , Arjan van de Ven , Srinivas Pandruvada , Len Brown , Rafael Wysocki , Eduardo Valentin , Paul Turner , Josh Triplett , "Paul E. McKenney" Subject: Re: [PATCH 2/4] timer: relax tick stop in idle entry Message-ID: <20151119190630.GP3816@twins.programming.kicks-ass.net> References: <1447444387-23525-1-git-send-email-jacob.jun.pan@linux.intel.com> <1447444387-23525-3-git-send-email-jacob.jun.pan@linux.intel.com> <20151113142438.3144d47d@icelake> <20151116135126.5a50e45d@icelake> <20151116160910.3811c8ca@icelake> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151116160910.3811c8ca@icelake> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 858 Lines: 21 On Mon, Nov 16, 2015 at 04:09:10PM -0800, Jacob Pan wrote: > On Mon, 16 Nov 2015 23:01:12 +0100 (CET) > Thomas Gleixner wrote: > > > > For the second case, which is much more rare, I think we do have > > > next timer exactly one tick away. Just don't know why tick will > > > continue into idle loop. > > > > Well, it should not be hard to figure that out. There are not so many > > checks involved when tick_nohz_irq_exit() is called. > Thanks for the tip, I found the cause is in > int idle_cpu(int cpu) Which one? That is, I cannot find a idle_cpu() call from tick_nohz_irq_exit(). -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/