Re: [ANNOUNCE] HotPlug CPU patch against 2.5.0

Russell King (rmk@arm.linux.org.uk)
Thu, 13 Dec 2001 22:44:00 +0000


On Thu, Dec 13, 2001 at 01:29:42PM -0800, Kimio Suganuma wrote:
> Down CPU
> echo 0 > /proc/sys/kernel/cpu/<id>/online
>
> Up CPU
> echo 1 > /proc/sys/kernel/cpu/<id>/online

Please use /proc/sys/cpu/*/ so that we have all CPU information in
a consistent place. Please see linux/include/linux/sysctl.h for the
sysctl allocation.

--
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

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