Kernel Bug Tracker – Bug 11669
when CPU hotplugging is disabled, nr_cpu_ids does not get set properly during boot
Last modified: 2008-10-26 15:14:00 UTC
caused by commit 4a7017370aa0a94a00ae5b5705e9169cdcae5fb8, which was the wrong fix for a compile error
With NR_CPUS set to 512 and CPU hotplug disabled, nr_cpu_ids gets set to 512 during boot on a uniprocessor machine.
Patches to fix this follow.
Created attachment 18105 [details]
Patch to revert commit 4a7017370aa0a94a00ae5b5705e9169cdcae5fb8
Created attachment 18106 [details]
Patch to fix the nr_cpu_ids problem properly
grump. please don't send patches via bugzilla - they're a pita to
Subject : when CPU hotplugging is disabled, nr_cpu_ids does not get set properly during boot
Submitter : Chuck Ebbert <firstname.lastname@example.org>
References : http://bugzilla.kernel.org/show_bug.cgi?id=11669
Handled-By : Chuck Ebbert <email@example.com>
Patch : http://bugzilla.kernel.org/attachment.cgi?id=18105
Fixed by commit 14adf855baefad5ac3b545be23a64e6b61d6b74a.