Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Nov 2006 01:41:22 -0800
From:      Julian Elischer <julian@elischer.org>
To:        Kip Macy <kip.macy@gmail.com>
Cc:        jb@freebsd.org, LI Xin <delphij@delphij.net>, freebsd-current@freebsd.org
Subject:   Re: Nonsense load average on kernel without KSE
Message-ID:  <454DB1C2.9000802@elischer.org>
In-Reply-To: <b1fa29170611020008g43223812l786c4e616c59afb9@mail.gmail.com>
References:  <4549A4B7.50005@delphij.net> <b1fa29170611020008g43223812l786c4e616c59afb9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <delphij@delphij.net> wrote:
>>
>> Hi,
>>
>> Anybody has observed load average of several hundred on -CURRENT without
>> KSE compiled in?
>>
>> Cheers,
>> -- 
>> Xin LI <delphij@delphij.net>    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"



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