Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2007 11:47:17 +0800
From:      David Xu <davidxu@freebsd.org>
To:        Jeff Roberson <jeff@freebsd.org>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, Julian Elischer <julian@freebsd.org>, jhb@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/kern sched_ule.c
Message-ID:  <200701241147.17846.davidxu@freebsd.org>
In-Reply-To: <200701230850.l0N8oZV2065483@repoman.freebsd.org>
References:  <200701230850.l0N8oZV2065483@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 23 January 2007 16:50, Jeff Roberson wrote:
> 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.

if idlethread is preempted, who will clear its idle bit in idle_cpus_mask ?

>    - 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

Regards,
David Xu



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701241147.17846.davidxu>