From owner-freebsd-smp Sat Feb 10 9:10:25 2001 Delivered-To: freebsd-smp@freebsd.org Received: from cr66388-a.rchrd1.on.wave.home.com (cr66388-a.rchrd1.on.wave.home.com [24.114.165.24]) by hub.freebsd.org (Postfix) with ESMTP id EA17837B401; Sat, 10 Feb 2001 09:10:05 -0800 (PST) Received: from cr66388-a.rchrd1.on.wave.home.c (localhost [127.0.0.1]) by cr66388-a.rchrd1.on.wave.home.com (Postfix) with ESMTP id BECB0BAB0; Sat, 10 Feb 2001 12:10:05 -0500 (EST) X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.3 To: Jeroen Ruigrok/Asmodai Cc: Manfred Antar , current@FreeBSD.ORG, smp@FreeBSD.ORG Subject: Re: Current SMP Kernel panics In-Reply-To: Message from Jeroen Ruigrok/Asmodai of "Sat, 10 Feb 2001 16:20:34 +0100." <20010210162033.C406@daemon.ninth-circle.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 10 Feb 2001 12:10:05 -0500 From: Jake Burkholder Message-Id: <20010210171005.BECB0BAB0@cr66388-a.rchrd1.on.wave.home.com> Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Should it become: > > #ifdef SMP > mtx_lock_spin(&sched_lock); > need_resched(); > forward_roundrobin(); > mtx_unlock_spin(&sched_lock); > #else > > ? > > I cannot test it yet, need to reanimate my testbox first. You need to handle the UP case as well :) Also, I don't think that sched_lock should be held across forward_roundrobin(). But, my box still hangs with the assertion satisifed. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message