Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759798Ab3FCTsR (ORCPT ); Mon, 3 Jun 2013 15:48:17 -0400 Received: from mail-we0-f182.google.com ([74.125.82.182]:34792 "EHLO mail-we0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758429Ab3FCTsM (ORCPT ); Mon, 3 Jun 2013 15:48:12 -0400 Date: Mon, 3 Jun 2013 21:48:08 +0200 From: Frederic Weisbecker To: Stefan Seyfried Cc: LKML , Steven Rostedt , "Paul E. McKenney" , Ingo Molnar , Thomas Gleixner , Peter Zijlstra , Borislav Petkov , Li Zhong , Mike Galbraith Subject: Re: [PATCH 2/8] vtime: Use consistent clocks among nohz accounting Message-ID: <20130603194806.GC31107@somewhere> References: <1369065716-22801-1-git-send-email-fweisbec@gmail.com> <1369065716-22801-3-git-send-email-fweisbec@gmail.com> <51AC6625.3080000@message-id.invalid.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51AC6625.3080000@message-id.invalid.com> 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: 1677 Lines: 41 On Mon, Jun 03, 2013 at 11:47:17AM +0200, Stefan Seyfried wrote: > Am 20.05.2013 18:01, schrieb Frederic Weisbecker: > > While computing the cputime delta of dynticks CPUs, > > we are mixing up clocks of differents natures: > > [...] > > > As a consequence, some strange behaviour with unstable tsc > > has been observed such as non progressing constant zero cputime. > > (The 'top' command showing no load). > > This happens for example on my trusty ThinkPad X200s (family 6 model 23 > stepping 10 Core 2 duo), seriously confusing its user (me :-). > > > Fix this by only using local_clock(), or its irq safe/remote > > equivalent, in vtime code. > > > > Reported-by: Mike Galbraith > > Suggested-by: Mike Galbraith > > Cc: Steven Rostedt > > Cc: Paul E. McKenney > > Cc: Ingo Molnar > > Cc: Thomas Gleixner > > Cc: Peter Zijlstra > > Cc: Borislav Petkov > > Cc: Li Zhong > > Cc: Mike Galbraith > > Signed-off-by: Frederic Weisbecker > > FWIW: > Tested-by: Stefan Seyfried > > This patch fixes the 0% CPU issue on openSUSE Factory kernels for me. Thanks! The patch has been committed already so I can't add your Tested-by: but feedbacks on testing are always appeciated. -- 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/