From owner-cvs-all@FreeBSD.ORG Wed Jan 24 03:47:21 2007 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from localhost.my.domain (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 6131616A402; Wed, 24 Jan 2007 03:47:21 +0000 (UTC) (envelope-from davidxu@freebsd.org) From: David Xu To: Jeff Roberson Date: Wed, 24 Jan 2007 11:47:17 +0800 User-Agent: KMail/1.8.2 References: <200701230850.l0N8oZV2065483@repoman.freebsd.org> In-Reply-To: <200701230850.l0N8oZV2065483@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701241147.17846.davidxu@freebsd.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, Julian Elischer , jhb@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/kern sched_ule.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jan 2007 03:47:21 -0000 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