From: Wanlong Gao <gaowanlong@cn.fujitsu.com>
To: gaowanlong@cn.fujitsu.com
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH 2/2] hugemmap: use SAFE_STRTOL instead
Date: Fri, 10 Feb 2012 11:26:43 +0800 [thread overview]
Message-ID: <4F348E73.9020101@cn.fujitsu.com> (raw)
In-Reply-To: <4F348A4F.2010907@cn.fujitsu.com>
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
parent reply other threads:[~2012-02-10 3:27 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <4F348A4F.2010907@cn.fujitsu.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F348E73.9020101@cn.fujitsu.com \
--to=gaowanlong@cn.fujitsu.com \
--cc=ltp-list@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.