Re: [patch -mm] scheduler cache hot autodetect, isolcpus fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm looking at 2.6.15-rc5-mm2 and there is still a problem:  the
migration_cost[] array is disappearing after boot, which leads to completely
bogus migration_cost[] values when dynamic sched domains are declared.

The fix:

Index: linux/kernel/sched.c
==========================================================
--- linux.orig/kernel/sched.c   2005-12-12 10:30:24.000000000 -0800
+++ linux/kernel/sched.c        2005-12-12 11:25:27.000000000 -0800
@@ -5279,7 +5279,7 @@
  */
 #define MAX_DOMAIN_DISTANCE 32

-static __initdata unsigned long long migration_cost[MAX_DOMAIN_DISTANCE] =
+static unsigned long long migration_cost[MAX_DOMAIN_DISTANCE] =
                { [ 0 ... MAX_DOMAIN_DISTANCE-1 ] = -1LL };

 /*

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux