On Wed, 12 Jun 2013 14:05:06 -0700 [email protected] wrote:

> From: Youquan Song <[email protected]>
> Subject: drivers/base/cpu.c: fix maxcpus boot option
> 
> The maxcpus boot option limits the maximum number of CPUs in the system,
> but this option is broken in recent kernels.  Though we use maxcpus to
> limit CPUs number, the current kernel will register all of the present
> CPUs in sysfs.  udev will enumerate all registered cpu in sysfs, and it
> will bring up the CPU if the CPU is offline.  So the maxcpus option is
> broken.
> 
> This patch will only register a CPU which is not over the limit of the
> maxcpus option in sysfs.  So it will keep the maxcpus limitation during
> udev enumeration or other bringup of CPUs over the limitation by methods
> such as echo 1 > /sys/devices/system/cpu/online

erk, no, this one is no good - please drop.
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to