From owner-freebsd-current Tue Mar 28 21:27: 8 2000 Delivered-To: freebsd-current@freebsd.org Received: from norn.ca.eu.org (cr965240-b.abtsfd1.bc.wave.home.com [24.113.19.137]) by hub.freebsd.org (Postfix) with ESMTP id D2EB737BA7B for ; Tue, 28 Mar 2000 21:27:05 -0800 (PST) (envelope-from cpiazza@norn.ca.eu.org) Received: by norn.ca.eu.org (Postfix, from userid 1000) id F3B321A09; Tue, 28 Mar 2000 21:27:03 -0800 (PST) Date: Tue, 28 Mar 2000 21:27:03 -0800 From: Chris Piazza To: Matthew Dillon Cc: Gary Jennejohn , freebsd-current@FreeBSD.ORG Subject: Re: Very weird assembly failure (was Re: UP kernel performance and Matt Dillon's patches) Message-ID: <20000328212703.A365@norn.ca.eu.org> References: <200003282137.XAA05281@peedub.muc.de> <200003290308.TAA56364@apollo.backplane.com> <200003290348.TAA56657@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200003290348.TAA56657@apollo.backplane.com>; from dillon@apollo.backplane.com on Tue, Mar 28, 2000 at 07:48:00PM -0800 X-Operating-System: FreeBSD 5.0-CURRENT i386 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Mar 28, 2000 at 07:48:00PM -0800, Matthew Dillon wrote: > I found a couple of minor nits, but only one real bug. In i386/swtch.s > I forgot to change out a WANT_RESCHED for AST_RESCHED: > > The problem is that a kernel build is not reporting any errors! > WANT_RESCHED does not exist at all, anywhere. If I change it to > a garbage name the kernel still builds. I don't get it. > > In anycase, please try changing WANT_RESCHED to AST_RESCHED in > i386/i386/swtch.s and see if that fixes the reported performance > problems. If WANT_RESCHED defaults to 0 by being undefined, then > the reschedule flag is never cleared when a context switch is made > and this could certainly lead to problems. Changing it to AST_RESCHED did not fix the problem for me. -Chris -- cpiazza@jaxon.net cpiazza@FreeBSD.org Abbotsford, BC, Canada To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message