From owner-cvs-src@FreeBSD.ORG Sun Nov 2 19:29:36 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BB0616A4CE; Sun, 2 Nov 2003 19:29:36 -0800 (PST) Received: from mail.chesapeake.net (chesapeake.net [208.142.252.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id C863E43FB1; Sun, 2 Nov 2003 19:29:34 -0800 (PST) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost) by mail.chesapeake.net (8.11.6/8.11.6) with ESMTP id hA33TYj81949; Sun, 2 Nov 2003 22:29:34 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Sun, 2 Nov 2003 22:29:34 -0500 (EST) From: Jeff Roberson To: Jeff Roberson In-Reply-To: <200311030327.hA33RMPX071380@repoman.freebsd.org> Message-ID: <20031102222853.V10222-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern sched_ule.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Nov 2003 03:29:36 -0000 On Sun, 2 Nov 2003, Jeff Roberson wrote: > jeff 2003/11/02 19:27:22 PST > > FreeBSD src repository > > Modified files: > sys/kern sched_ule.c > Log: > - Remove kseq_find(), we no longer scan other cpu's run queues when we go > idle. They figure out that we're idle fast enough that the cache pollution > introduces by scanning their run queue is more expensive than waiting > a little longer. Er, contention, not pollution. > - Add kseq_setidle() to mark us as being idle. Use this in place of > kseq_find(). > - Remove kseq_load_highest(), kseq_find() was the only consumer of this > interface. kseq_balance() has it's own customized version that finds the > lowest and highest loads simultaneously. > > Continuously told that this would be faster by: terry I hate it when he's right. ;-) Noone tell him. > > Revision Changes Path > 1.76 +17 -66 src/sys/kern/sched_ule.c >