From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267439AbUHPFG7 (ORCPT ); Mon, 16 Aug 2004 01:06:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267440AbUHPFG7 (ORCPT ); Mon, 16 Aug 2004 01:06:59 -0400 Received: from viper.oldcity.dca.net ([216.158.38.4]:44162 "HELO viper.oldcity.dca.net") by vger.kernel.org with SMTP id S267439AbUHPFF6 (ORCPT ); Mon, 16 Aug 2004 01:05:58 -0400 Subject: Re: [patch] voluntary-preempt-2.6.8.1-P1 From: Lee Revell To: Ingo Molnar Cc: Florian Schmidt , linux-kernel , Felipe Alfaro Solana In-Reply-To: <20040816043302.GA14979@elte.hu> References: <1092622121.867.109.camel@krustophenia.net> <20040816023655.GA8746@elte.hu> <1092624221.867.118.camel@krustophenia.net> <20040816032806.GA11750@elte.hu> <20040816033623.GA12157@elte.hu> <1092627691.867.150.camel@krustophenia.net> <20040816034618.GA13063@elte.hu> <1092628493.810.3.camel@krustophenia.net> <20040816040515.GA13665@elte.hu> <1092630122.810.25.camel@krustophenia.net> <20040816043302.GA14979@elte.hu> Content-Type: text/plain Message-Id: <1092632807.801.9.camel@krustophenia.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 16 Aug 2004 01:06:48 -0400 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2004-08-16 at 00:33, Ingo Molnar wrote: > * Lee Revell wrote: > > > > > Anyway, the change to sched.c fixes the mlockall bug, it works > > > > perfectly now. Thanks! > > > > > > great! This fix also means that we've got one more lock-break in the > > > ext3 journalling code and one more lock-break in dcache.c. I've released > > > -P1 with the fix included: > > > > > > http://redhat.com/~mingo/voluntary-preempt/voluntary-preempt-2.6.8.1-P1 > > > > > > > The highest latency I am seeing now is the rhine_check_duplex problem. > > Should I try making mdio_delay an NOOP? > > there's no mdio_delay() in via-rhine.c AFAICS. Could you add a pair of > touch-latency calls to around this code in mdio_read(): > > + touch_preempt_timing(); > /* Wait for a previous command to complete. */ > while ((readb(ioaddr + MIICmd) & 0x60) && --boguscnt > 0) > + touch_preempt_timing(); > > i suspect it's this one that introduces the biggest delay. Also: > > + touch_preempt_timing(); > while ((readb(ioaddr + MIICmd) & 0x40) && --boguscnt > 0) > ; > + touch_preempt_timing(); > Just to clarify, the touch_preempt_timing should be after, not inside the while loop in both cases, right? Lee