On 02/10/2012 11:09 AM, Wanlong Gao wrote:

> On 02/10/2012 10:33 AM, Caspar Zhang wrote:
> 
>> On 02/10/2012 09:08 AM, Wanlong Gao wrote:
>>> +109» » hugepages·=·SAFE_STRTOL(NULL,·nr_opt,·LONG_MIN,·LONG_MAX);
>>
>> would it better if `s/LONG_MIN/0` ? Since nr_hugepages won't do error
>> check if echoing negative value to it (AFAIK).


Ah, no, negative will not write to nr_hugepages at all.
If so, it's must be a kernel bug.

Thanks
-Wanlong Gao

> 
> 
> make sense, thanks ;)
> 
>>
>> Thanks,
>> Caspar
>>
> 
> 
> 
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing 
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Ltp-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ltp-list



------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to