Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Feb 2001 12:10:05 -0500
From:      Jake Burkholder <jburkholder0829@home.com>
To:        Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
Cc:        Manfred Antar <null@pozo.com>, current@FreeBSD.ORG, smp@FreeBSD.ORG
Subject:   Re: Current SMP Kernel panics 
Message-ID:  <20010210171005.BECB0BAB0@cr66388-a.rchrd1.on.wave.home.com>
In-Reply-To: Message from Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>  of "Sat, 10 Feb 2001 16:20:34 %2B0100." <20010210162033.C406@daemon.ninth-circle.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010210171005.BECB0BAB0>