maxcpus=1 does not work
Passing maxcpus=1 as boot parameter does not have the expected effect: all cpus are still enabled.
ia64/kernel/smp.c +1 -1
@@ -637,7 +637,7 @@if (max_cpus !=-1 )printk ("Limiting CPUs to %d\n" , max_cpus); -if (smp_boot_data.cpu_count >1 ) { +if (smp_boot_data.cpu_count >1 && cpu_count != max_cpus) {printk (KERN_INFO "SMP: starting up secondaries.\n" );for (i =0 ; i < smp_boot_data.cpu_count; i++) {
Andreas.
Signature · 5 lines
Andreas Schwab "And now for something SuSE Labs completely different." [email protected] SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5