Date: Mon, 2 Jul 2001 22:33:09 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_synch.c Message-ID: <200107030533.f635X9v32289@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2001/07/02 22:33:09 PDT
Modified files:
sys/kern kern_synch.c
Log:
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.
Revision Changes Path
1.142 +7 -4 src/sys/kern/kern_synch.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107030533.f635X9v32289>
