From owner-freebsd-current@FreeBSD.ORG Sun Jul 4 00:44:39 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFD2A16A4CE for ; Sun, 4 Jul 2004 00:44:39 +0000 (GMT) Received: from www.cray1.de (i.would.like.to.spoof.my.realip.de [64.27.85.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CA3543D1F for ; Sun, 4 Jul 2004 00:44:39 +0000 (GMT) (envelope-from ubm@u-boot-man.de) Received: from greatsheep.marines (localhost [127.0.0.1]) by www.cray1.de (8.9.3/8.9.3) with SMTP id CAA24245 for ; Sun, 4 Jul 2004 02:44:34 +0200 Date: Sun, 4 Jul 2004 02:44:36 +0200 From: Marc "UBM" Bocklet To: current@freebsd.org Message-Id: <20040704024436.503257f4.ubm@u-boot-man.de> In-Reply-To: <40E6D627.3030308@veldy.net> References: <200407022021.i62KLi4Y041825@repoman.freebsd.org> <200407021721.52787.jhb@FreeBSD.org> <40E64302.2020700@veldy.net> <20040703053940.GA60840@xor.obsecurity.org> <40E6C201.3000104@veldy.net> <20040703145239.GA9941@troutmask.apl.washington.edu> <40E6D627.3030308@veldy.net> X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd5.2.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: HEADSUP: Native preemption added to the kernel scheduler X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2004 00:44:39 -0000 On Sat, 03 Jul 2004 10:52:07 -0500 "Thomas T. Veldhouse" wrote: > Steve Kargl wrote: > > >Watch for cut-n-paste space problems. > > > >--- sched_ule.c.orig Sat Jul 3 07:51:02 2004 > >+++ sched_ule.c Sat Jul 3 07:51:15 2004 > >@@ -1716,7 +1716,7 @@ > > kseq_load_rem(KSEQ_CPU(ke->ke_cpu), ke); > > kseq_notify(ke, cpu); > > /* When we return from mi_switch we'll be on the correct cpu. > > */ > >- mi_switch(SW_VOL); > >+ mi_switch(SW_VOL, NULL); > > #endif > > } > > > > > > No such problem. I simply added NULL myself, by hand. It compiles > fine, but the kernel panics on boot. It works fine here on my P4, running current from about 6 hours ago. I compiled with -O only. Bye Marc -- "And what rough beast, its hour come round at last, Slouches towards Bethlehem to be born?" W.B. Yeats, The Second Coming