* Re: [LTP] [PATCH 2/2] hugemmap: use SAFE_STRTOL instead
[not found] ` <4F348A4F.2010907@cn.fujitsu.com>
@ 2012-02-10 3:26 ` Wanlong Gao
0 siblings, 0 replies; only message in thread
From: Wanlong Gao @ 2012-02-10 3:26 UTC (permalink / raw)
To: gaowanlong; +Cc: ltp-list
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
> Ltp-list@lists.sourceforge.net
> 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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-02-10 3:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1328836130-8775-1-git-send-email-gaowanlong@cn.fujitsu.com>
[not found] ` <1328836130-8775-2-git-send-email-gaowanlong@cn.fujitsu.com>
[not found] ` <4F3481F2.9000009@casparzhang.com>
[not found] ` <4F348A4F.2010907@cn.fujitsu.com>
2012-02-10 3:26 ` [LTP] [PATCH 2/2] hugemmap: use SAFE_STRTOL instead Wanlong Gao
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.