]> git.karo-electronics.de Git - linux-beck.git/blobdiff - arch/i386/kernel/smpboot.c
[PATCH] scheduler cache-hot-autodetect
[linux-beck.git] / arch / i386 / kernel / smpboot.c
index b3c2e2c26743381e5f1a8b3dfd592c2c0cb5d2c9..a9bf5f222e4787a011cdaaf0ba866e553d1c51b7 100644 (file)
@@ -1096,6 +1096,7 @@ static void smp_tune_scheduling (void)
                        cachesize = 16; /* Pentiums, 2x8kB cache */
                        bandwidth = 100;
                }
+               max_cache_size = cachesize * 1024;
        }
 }