Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754115Ab0LKCXE (ORCPT ); Fri, 10 Dec 2010 21:23:04 -0500 Received: from relais.videotron.ca ([24.201.245.36]:23988 "EHLO relais.videotron.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752243Ab0LKCXD (ORCPT ); Fri, 10 Dec 2010 21:23:03 -0500 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: TEXT/PLAIN; charset=US-ASCII Date: Fri, 10 Dec 2010 21:23:01 -0500 (EST) From: Nicolas Pitre X-X-Sender: nico@xanadu.home To: Peter Zijlstra Cc: Eric Dumazet , Venkatesh Pallipadi , Russell King - ARM Linux , Mikael Pettersson , Ingo Molnar , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, John Stultz , Christoph Lameter Subject: Re: [PATCH] sched: Fix the irqtime code to deal with u64 wraps In-reply-to: <1292013506.13513.78.camel@laptop> Message-id: References: <1292013506.13513.78.camel@laptop> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1121 Lines: 32 On Fri, 10 Dec 2010, Peter Zijlstra wrote: > OK, so here's the latest version, using fancy __this_cpu thingies. > > I started a new thread since the old one was quite unwieldy. > > Now, admittedly this patch is a tad large, esp for -rc5. So either we > need lots of Reviewed-by and such or I need to shrink this patch > somehow. > > > --- > Subject: sched: Fix the irqtime code to deal with u64 wraps > From: Peter Zijlstra > Date: Thu Dec 09 14:15:34 CET 2010 > > ARM systems have a 32bit sched_clock() [ which needs to be fixed ], > but this exposed a bug in the irq_time code as well, it doesn't deal > with wraps at all. [...] That would be more close to reality if you stated "Some ARM systems have a 32bit sched_clock() [" above. Most ARM systems in use today have a sched_clock() with more than 32 bits, like 55 bits or so. Nicolas -- 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/