On Thu, 13 Dec 2001 22:44:00 +0000
Russell King <rmk@arm.linux.org.uk> 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,
right?
I guess the operation would be
echo 1 > /proc/sys/cpu/hotplug/<cpu-id>/online
or
echo 1 > /proc/sys/cpu/<cpu-id>/online
or
echo <cpu-id> > /proc/sys/cpu/online
Which is the right way?
Regards,
Kimi
-- Kimio Suganuma <k-suganuma@mvj.biglobe.ne.jp>- 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/