Perhaps only need_resched() needs to be spinlocked. I am not sure, I am
not a SMP guru.
That looks correct, need_resched() needs sched_lock.
Problem is that when I sched_lock need_resched() it just hangs and
doesn't boot further.
Jeroen Ruigrok vd Werven/Asmodai asmodai@[wxs.nl|bart.nl|freebsd.org]
Documentation nutter/C-rated Coder BSD: Technical excellence at its best
D78D D0AD 244D 1D12 C9CA 7152 035C 1138 546A B867
I'm a child of the air, I'm a witch of the wind...
To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message