Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 17 Oct 2002 14:44:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 17 Oct 2002 14:44:16 -0400 Received: from noodles.codemonkey.org.uk ([213.152.47.19]:61598 "EHLO noodles.internal") by vger.kernel.org with ESMTP id ; Thu, 17 Oct 2002 14:44:14 -0400 Date: Thu, 17 Oct 2002 19:52:27 +0100 From: Dave Jones To: Robin Holt Cc: Dave Jones , John Hesterberg , linux-kernel@vger.kernel.org Subject: Re: [PATCH] 2.5.43 CSA, Job, and PAGG Message-ID: <20021017185227.GA3267@suse.de> Mail-Followup-To: Dave Jones , Robin Holt , John Hesterberg , linux-kernel@vger.kernel.org References: <20021017162140.GA26026@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 909 Lines: 27 On Thu, Oct 17, 2002 at 12:50:52PM -0500, Robin Holt wrote: > > The first two lines in the csa patch contain an obvious jiffy-wrap bug. > > Fixed. The patch file named above is now a link to > linux-2.5.43_002-csa.patch. The old file is linux-2.5.43_001-csa.patch > > If you could re-review, I would appreciate it. Casting it to a ulong won't help you. Imagine jiffies begins at 0xffffffff unsigned long start_wait = jiffies; ... current->bwtime += (unsigned long) jiffies - start_wait; and when you read it the second time, it's rolled over to 0x00000001 You now increment bwtime by $BIGNUM -- | Dave Jones. http://www.codemonkey.org.uk - 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/