Re: Nonsense load average on kernel without KSE

From: Julian Elischer <julian_at_elischer.org>
Date: Sun, 05 Nov 2006 01:41:22 -0800
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
_at__at_ -122,12 +122,7 _at__at_
  #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_at_delphij.net> wrote:
>>
>> Hi,
>>
>> Anybody has observed load average of several hundred on -CURRENT without
>> KSE compiled in?
>>
>> Cheers,
>> -- 
>> Xin LI <delphij_at_delphij.net>    http://www.delphij.net/
>> FreeBSD - The Power to Serve!
>>
>>
>>
>>
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Sun Nov 05 2006 - 08:42:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:02 UTC