On Thu, 13 Dec 2001 22:44:00 +0000
Russell King <email@example.com> wrote:
> 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.
I don't know much about sysctl specification, so could you show me
pointer to any document or something?
There is no /proc/sys/cpu directory on the latest kernel, and
I guess someone is thinking the structure under the directory,
I guess the operation would be
echo 1 > /proc/sys/cpu/hotplug/<cpu-id>/online
echo 1 > /proc/sys/cpu/<cpu-id>/online
echo <cpu-id> > /proc/sys/cpu/online
Which is the right way?
-- Kimio Suganuma <firstname.lastname@example.org>
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to email@example.com More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Dec 15 2001 - 21:00:27 EST