Date: Tue, 23 Jan 2007 08:50:34 +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: <200701230850.l0N8oZV2065483@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2007-01-23 08:50:34 UTC FreeBSD src repository Modified files: sys/kern sched_ule.c Log: - Catch up to setrunqueue/choosethread/etc. api changes. - Define our own maybe_preempt() as sched_preempt(). We want to be able to preempt idlethread in all cases. - Define our idlethread to require preemption to exit. - Get the cpu estimation tick from sched_tick() so we don't have to worry about errors from a sampling interval that differs from the time domain. This was the source of sched_priority prints/panics and inaccurate pctcpu display in top. Revision Changes Path 1.183 +90 -39 src/sys/kern/sched_ule.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701230850.l0N8oZV2065483>