Hi Nicolas,

[...]
>>
>> 1) can't create /sys/devices/system/cpu/cpu//online: nonexistent directory
>
> What do you get if you do:
>
> $ ls -d /sys/devices/system/cpu/cpu?/online
ls: /sys/devices/system/cpu/cpu//online: No such file or directory
>
> ?
>
>> 2) sleep: invalid number '.0026736'
>
> A sufficiently recent coreutils package should have a sleep command that
> accepts fractional values.  Alternatively you may replace it with
> usleep:
>
>         usleep $RANDOM
Looks like my cramfs needs an update, it seems to have old packages.
>
>> For 1) the cpu number is not being appended. if I give a particular
>> cpu in the script then hotplug in/out works fine.
>> For 2) a constant msleep 10 works.
>
> If you have msleep but not usleep then try:
>
>                 msleep $(($RANDOM / 1000))
I have msleep present.
>
>> Is it OK for me to modify the script to hotplug in/off a randomly chosed 
>> core ?
>
> No.  They must *all* be hotplugged simultaneously with some random
> timing.
OK.

Regards,
Abhilash
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to