Date: Tue, 7 Jun 2005 02:59:16 +0000 (UTC) From: Jeff Roberson <jeff@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern sched_ule.c Message-ID: <200506070259.j572xGFn046575@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2005-06-07 02:59:16 UTC FreeBSD src repository Modified files: sys/kern sched_ule.c Log: - Fix the case where we're not preempting but there is already a newtd as this happens via thread_switchout(). I don't particularly like the structure of the code here. We twice call out to thread code when a thread is voluntarily switching. Once to thread_switchout() and once to slot_fill(), while sched_4BSD does even more work which is redundant to select another thread to use our remaining slice. This should be simplified in the future, but for now I'm only going to fix the bug not the bad design. Revision Changes Path 1.152 +11 -3 src/sys/kern/sched_ule.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506070259.j572xGFn046575>