Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752646Ab3IHK4s (ORCPT ); Sun, 8 Sep 2013 06:56:48 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:35166 "EHLO mail-wg0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752188Ab3IHK4r (ORCPT ); Sun, 8 Sep 2013 06:56:47 -0400 Date: Sun, 8 Sep 2013 12:56:43 +0200 From: Frederic Weisbecker To: Sergey Senozhatsky Cc: Stanislaw Gruszka , Ingo Molnar , Peter Zijlstra , "Paul E. McKenney" , Borislav Petkov , linux-kernel@vger.kernel.org Subject: Re: [sched next] overflowed cpu time for kernel threads in /proc/PID/stat Message-ID: <20130908105642.GD4501@somewhere> References: <20130820111426.GA27828@swordfish.datadirectnet.com> <20130820151509.GA17441@somewhere> <20130820153549.GB2315@swordfish.minsk.epam.com> <20130820154257.GD17441@somewhere> <20130821153957.GA2969@swordfish.minsk.epam.com> <20130830230402.GA14760@somewhere> <20130831190117.GA2213@swordfish> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130831190117.GA2213@swordfish> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1636 Lines: 37 On Sat, Aug 31, 2013 at 10:01:17PM +0300, Sergey Senozhatsky wrote: > On (08/31/13 01:04), Frederic Weisbecker wrote: > > But stime should always be below rtime due to the calculation done by scale_stime() > > which roughly sums up to: > > > > stime = (stime / stime + utime) * rtime > > > > So this shouldn't happen. > > > > I couldn't manage to reproduce it though. Can you still trigger it with latest -next? > > > > Thanks. > > Hello, > I can't pull current -next (away from good network connection for a > couple of days). What I have is 3.11.0-rc7-next-20130829: > > ps aux | grep rcu > root 8 0.0 0.0 0 0 ? S Aug30 0:00 [rcuc/0] > root 9 0.0 0.0 0 0 ? S Aug30 0:00 [rcub/0] > root 10 21376376 0.0 0 0 ? S Aug30 21114581:36 [rcu_preempt] > root 11 21376376 0.0 0 0 ? S Aug30 21114581:35 [rcuop/0] > root 12 21376376 0.0 0 0 ? S Aug30 21114581:35 [rcuop/1] > > cat /proc/10/stat > 10 (rcu_preempt) S 2 0 0 0 -1 2129984 0 0 0 0 1844674407370 715 0 0 20 0 1 0 10 0 0 18446744073709551615 0 0 0 0 0 0 0 2147483647 0 18446744073709551615 0 0 17 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > > -ss Do you have this patch in? http://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/commit/?h=timers-urgent-for-linus&id=5a8e01f8fa51f5cbce8f37acc050eb2319d12956 -- 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/