Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1662377

Re: [PATCH] nohz: Fix spurious warning when hrtimer and clockevent get out of sync

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH] nohz: Fix spurious warning when hrtimer and clockevent get out of sync
Date 2017-06-09 14:30 +0200
Message-ID <tQrd7-1sb-13@gated-at.bofh.it> (permalink)
References (5 earlier) <tPQQi-3EL-29@gated-at.bofh.it> <tQaYG-8eD-27@gated-at.bofh.it> <tQdWx-1BJ-3@gated-at.bofh.it> <tQghH-2W1-3@gated-at.bofh.it> <tQr3s-1p7-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Jun 09, 2017 at 12:13:49PM +0000, Levin, Alexander (Sasha Levin) wrote:
> On Fri, Jun 09, 2017 at 02:48:57AM +0200, Frederic Weisbecker wrote:
> > On Thu, Jun 08, 2017 at 10:13:38PM +0000, Levin, Alexander (Sasha Levin) wrote:
> > > On Thu, Jun 08, 2017 at 09:07:05PM +0200, Frederic Weisbecker wrote:
> > > > Awesome, these traces have been very helpful! So now I think I get what's going on.
> > > > Can you please test the following fix?
> > > 
> > > With the patch, I hit the warning early on boot:
> > > 
> > > [    1.423727] clocksource: Switched to clocksource kvm-clock
> > > [    1.429326] ------------[ cut here ]------------
> > > [    1.430234] WARNING: CPU: 1 PID: 0 at kernel/time/tick-sched.c:792 __tick_nohz_idle_enter+0xe1c/0x15c0
> > 
> > Oh sorry, I inverted some conditional. It warns as soon as the tick is completely stopped
> > and not just deferred, which seldom happen on my testbox.
> > 
> > I need to learn programming again.
> > 
> > Here is the fixed version:
> 
> These warnings seem to have gone away, but I've started seeing a new one:
> 
> ------------[ cut here ]------------
> WARNING: CPU: 0 PID: 12525 at kernel/time/hrtimer.c:805 hrtimer_forward+0x222/0x3e0 kernel/time/hrtimer.c:805
> Kernel panic - not syncing: panic_on_warn set ...

https://lkml.kernel.org/r/20170609104457.GA39907@inn.lkp.intel.com

has a very similar splat

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] nohz: Fix spurious warning when hrtimer and clockevent get  out of sync Frederic Weisbecker <fweisbec@gmail.com> - 2017-06-08 21:10 +0200
  [PATCH] nohz: Fix spurious warning when hrtimer and clockevent get  out of sync "Levin, Alexander (Sasha Levin)" <alexander.levin@verizon.com> - 2017-06-09 00:20 +0200
    Re: [PATCH] nohz: Fix spurious warning when hrtimer and clockevent  get out of sync Frederic Weisbecker <fweisbec@gmail.com> - 2017-06-09 02:50 +0200
      Re: [PATCH] nohz: Fix spurious warning when hrtimer and clockevent  get out of sync "Levin, Alexander (Sasha Levin)" <alexander.levin@verizon.com> - 2017-06-09 14:20 +0200
        Re: [PATCH] nohz: Fix spurious warning when hrtimer and clockevent  get out of sync Peter Zijlstra <peterz@infradead.org> - 2017-06-09 14:30 +0200
        Re: [PATCH] nohz: Fix spurious warning when hrtimer and clockevent  get out of sync Frederic Weisbecker <fweisbec@gmail.com> - 2017-06-09 15:10 +0200

csiph-web