From owner-freebsd-current@FreeBSD.ORG Sun Nov 5 09:42:03 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 162AD16A4F5; Sun, 5 Nov 2006 09:42:03 +0000 (UTC) (envelope-from julian@elischer.org) Received: from customer-domains.icp-qv1-irony9.iinet.net.au (customer-domains.icp-qv1-irony9.iinet.net.au [203.59.1.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51CBB43DCE; Sun, 5 Nov 2006 09:41:25 +0000 (GMT) (envelope-from julian@elischer.org) Received: from 203-59-204-18.dyn.iinet.net.au (HELO [10.1.1.4]) ([203.59.204.18]) by customer-domains.icp-qv1-irony9.iinet.net.au with ESMTP; 05 Nov 2006 17:41:23 +0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAOc+TUXLO8wSXWdsb2JhbAANjDMs X-IronPort-AV: i="4.09,388,1157299200"; d="scan'208"; a="52464431:sNHT36262958" Message-ID: <454DB1C2.9000802@elischer.org> Date: Sun, 05 Nov 2006 01:41:22 -0800 From: Julian Elischer User-Agent: Thunderbird 1.5.0.7 (Macintosh/20060909) MIME-Version: 1.0 To: Kip Macy References: <4549A4B7.50005@delphij.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: jb@freebsd.org, LI Xin , freebsd-current@freebsd.org Subject: Re: Nonsense load average on kernel without KSE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Nov 2006 09:42:03 -0000 Kip Macy wrote: > That is a known issue :-( david xu has said that the following patch fixed it for him. Index: kern_idle.c =================================================================== RCS file: /home/ncvs/src/sys/kern/kern_idle.c,v retrieving revision 1.44 diff -u -r1.44 kern_idle.c --- kern_idle.c 26 Oct 2006 21:42:19 -0000 1.44 +++ kern_idle.c 2 Nov 2006 11:47:30 -0000 @@ -122,12 +122,7 @@ #ifdef SMP idle_cpus_mask &= ~mycpu; #endif -#ifdef KSE mi_switch(SW_VOL, NULL); -#else - if ((td = choosethread()) != curthread) - mi_switch(SW_VOL, td); -#endif > > On 11/1/06, LI Xin wrote: >> >> Hi, >> >> Anybody has observed load average of several hundred on -CURRENT without >> KSE compiled in? >> >> Cheers, >> -- >> Xin LI http://www.delphij.net/ >> FreeBSD - The Power to Serve! >> >> >> >> > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"