Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936108Ab3DJK07 (ORCPT ); Wed, 10 Apr 2013 06:26:59 -0400 Received: from 173-166-109-252-newengland.hfc.comcastbusiness.net ([173.166.109.252]:52760 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751985Ab3DJK06 (ORCPT ); Wed, 10 Apr 2013 06:26:58 -0400 Message-ID: <1365589603.30071.37.camel@laptop> Subject: Re: [RFC GIT PULL] nohz: Full dynticks rq clock handling From: Peter Zijlstra To: Frederic Weisbecker Cc: Ingo Molnar , LKML , Alessio Igor Bogani , Andrew Morton , Chris Metcalf , Christoph Lameter , Geoff Levand , Gilad Ben Yossef , Hakan Akkan , Li Zhong , Namhyung Kim , "Paul E. McKenney" , Paul Gortmaker , Steven Rostedt , Thomas Gleixner , Paul Turner , Mike Galbraith Date: Wed, 10 Apr 2013 12:26:43 +0200 In-Reply-To: <1365266760-24725-1-git-send-email-fweisbec@gmail.com> References: <1365266760-24725-1-git-send-email-fweisbec@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.2-0ubuntu0.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 698 Lines: 17 Another thing I just noticed; our update_curr() assumes its called at least once every 4 odd seconds (2^32 ns like). update_curr() is 'required' for things like task runtime stats and everything that hangs off of that like cputimers etc. Now I'm not entirely sure how the nr_running==1 nohz case deals with this, but I can imagine it might take a while. In this case we might need to 'fix' update_curr() to not asume the time delta fits in 32 bits. -- 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/