]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove bogus need_resched() of the current CPU in roundrobin().
authorjhb <jhb@FreeBSD.org>
Tue, 3 Jul 2001 05:33:09 +0000 (05:33 +0000)
committerjhb <jhb@FreeBSD.org>
Tue, 3 Jul 2001 05:33:09 +0000 (05:33 +0000)
commit774b040e8a9275c2f86613aeee9b59233f1a3029
treebe3cac17ec6111e14fea76adce85d0ae2fdabe89
parent7bb1f298985ebd280b73367beff86c4c398c2d11
Remove bogus need_resched() of the current CPU in roundrobin().
We don't actually need to force a context switch of the current process.
The act of firing the event triggers a context switch to softclock() and
then switching back out again which is equivalent to a preemption, thus
no further work is needed on the local CPU.
sys/kern/kern_synch.c