> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to