cvs commit: src/sys/kern sched_ule.c
John Baldwin
jhb at freebsd.org
Fri Apr 4 13:29:48 UTC 2008
On Thursday 03 April 2008 09:04:43 pm Jeff Roberson wrote:
> jeff 2008-04-04 01:04:43 UTC
>
> FreeBSD src repository
>
> Modified files:
> sys/kern sched_ule.c
> Log:
> - Don't check for the ITHD pri class in tdq_load_add and rem. 4BSD
> doesn't do this either. Simply check P_NOLOAD. It'd be nice if this was
> in a thread flag so we didn't have an extra cache miss every time we add
> and remove a thread from the run-queue.
Actually, now that all interrupt threads are in a single process, it should be
a per-thread flag. It was only ever intended to mask softclock since that is
what did the load calculation on 4BSD so that 4BSD wouldn't always return a
load of 1 even on an idle box (since softclock was always running when the
load was checked).
--
John Baldwin
More information about the cvs-src
mailing list