Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753148AbaKLPCq (ORCPT ); Wed, 12 Nov 2014 10:02:46 -0500 Received: from mail-ob0-f174.google.com ([209.85.214.174]:34493 "EHLO mail-ob0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752759AbaKLPCp (ORCPT ); Wed, 12 Nov 2014 10:02:45 -0500 MIME-Version: 1.0 In-Reply-To: <20141112135455.GA6895@lerouge> References: <20141110153147.GK4901@linux.vnet.ibm.com> <20141111171526.GC3216@lerouge> <20141112135455.GA6895@lerouge> Date: Wed, 12 Nov 2014 20:26:05 +0530 Message-ID: Subject: Re: Future of NOHZ full/isolation development (was Re: [NOHZ] Remove scheduler_tick_max_deferment) From: Viresh Kumar To: Frederic Weisbecker Cc: Christoph Lameter , "Paul E. McKenney" , Thomas Gleixner , Linux Kernel Mailing List , Gilad Ben-Yossef , Tejun Heo , John Stultz , Mike Frysinger , Minchan Kim , Hakan Akkan , Max Krasnyansky , Hugh Dickins , "H. Peter Anvin" , Ingo Molnar , Peter Zijlstra , Kevin Hilman Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12 November 2014 19:24, Frederic Weisbecker wrote: > I'd rather leave that to tracepoints. Like trace_hrtimer_spurious(). Yeah, it was just to prove things right on the console without getting into traces. > Or better yet: have trace_hrtimer_interrupt() which we can compare against > trace_hrtimer_expire_entry/exit() to check if any hrtimer callback have run > in the interrupt. This way we avoid workarounds like the above count. Yeah, I also believe we better add this debug information to mainline kernel. I will try to get a patch for that soon. Would it be recommended to add both trace points? i.e. trace_hrtimer_interrupt() and trace_hrtimer_spurious() ? -- viresh -- 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/