Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S975391AbdDXRG4 (ORCPT ); Mon, 24 Apr 2017 13:06:56 -0400 Received: from terminus.zytor.com ([65.50.211.136]:34493 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S975228AbdDXRGr (ORCPT ); Mon, 24 Apr 2017 13:06:47 -0400 Date: Mon, 24 Apr 2017 10:01:04 -0700 From: tip-bot for Frederic Weisbecker Message-ID: Cc: hpa@zytor.com, fweisbec@gmail.com, torvalds@linux-foundation.org, pavel@ucw.cz, peterz@infradead.org, riel@redhat.com, hartsjc@redhat.com, tim@binbash.co.uk, mingo@kernel.org, tglx@linutronix.de, linux-kernel@vger.kernel.org Reply-To: peterz@infradead.org, torvalds@linux-foundation.org, pavel@ucw.cz, fweisbec@gmail.com, hpa@zytor.com, mingo@kernel.org, tim@binbash.co.uk, tglx@linutronix.de, linux-kernel@vger.kernel.org, hartsjc@redhat.com, riel@redhat.com In-Reply-To: <20170424140436.GD21353@lerouge> References: <20170424140436.GD21353@lerouge> To: linux-tip-commits@vger.kernel.org Subject: [tip:timers/urgent] nohz: Print more debug info in tick_nohz_stop_sched_tick() Git-Commit-ID: 098991fccfc7c0dd5fdfc6ed2ed965ad80f14be5 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1483 Lines: 40 Commit-ID: 098991fccfc7c0dd5fdfc6ed2ed965ad80f14be5 Gitweb: http://git.kernel.org/tip/098991fccfc7c0dd5fdfc6ed2ed965ad80f14be5 Author: Frederic Weisbecker AuthorDate: Mon, 24 Apr 2017 16:04:37 +0200 Committer: Ingo Molnar CommitDate: Mon, 24 Apr 2017 16:27:09 +0200 nohz: Print more debug info in tick_nohz_stop_sched_tick() Print more debug info when triggering this warning: > ------------[ cut here ]------------ > WARNING: CPU: 0 PID: 0 at kernel/time/tick-sched.c:874 __tick_nohz_idle_enter+0x461/0x490 Signed-off-by: Frederic Weisbecker Cc: James Hartsock Cc: Linus Torvalds Cc: Pavel Machek Cc: Peter Zijlstra Cc: Rik van Riel Cc: Thomas Gleixner Cc: Tim Wright Link: http://lkml.kernel.org/r/20170424140436.GD21353@lerouge Signed-off-by: Ingo Molnar --- kernel/time/tick-sched.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index be7ca4d..b2df684 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c @@ -789,6 +789,7 @@ static ktime_t tick_nohz_stop_sched_tick(struct tick_sched *ts, goto out; WARN_ON_ONCE(1); + printk_once("basemono: %llu ts->next_tick: %llu dev->next_event: %llu\n", basemono, ts->next_tick, dev->next_event); } /*