public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Wanlong Gao <gaowanlong@cn.fujitsu.com>
To: Caspar Zhang <caspar@casparzhang.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH 2/5] hugemmap01.c : automatically mount hugetlbfs.
Date: Wed, 28 Dec 2011 14:23:55 +0800	[thread overview]
Message-ID: <4EFAB5FB.1070907@cn.fujitsu.com> (raw)
In-Reply-To: <4EFAA778.5030704@casparzhang.com>

Hi Casper:

> 
> Hi, I think it's better to keep this option, since not all users would
> like the default mount place.


-H option is not needed, users can set TDIRECTORY env to change the dir if
he don't like the default one, also, remove the -H option can be consistent with
others.


>> +	tst_tmpdir();
>> +	mount_point = get_tst_tmpdir();
>> +	mount_hugetlbfs(mount_point);
>> +	hugepage_alloc(1024);


sure, will change to a macro.


Thanks a lot
-Wanlong Gao

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

  reply	other threads:[~2011-12-28  6:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1322044169-30851-1-git-send-email-gaowanlong@cn.fujitsu.com>
     [not found] ` <1322044169-30851-2-git-send-email-gaowanlong@cn.fujitsu.com>
2011-12-28  5:21   ` [LTP] [PATCH 1/5] A library used to mount hugetlbfs automatically Caspar Zhang
2011-12-28  6:02     ` [LTP] [PATCH v2 " Wanlong Gao
2011-12-28  6:55       ` Caspar Zhang
     [not found] ` <1322044169-30851-3-git-send-email-gaowanlong@cn.fujitsu.com>
2011-12-28  5:22   ` [LTP] [PATCH 2/5] hugemmap01.c : automatically mount hugetlbfs Caspar Zhang
2011-12-28  6:23     ` Wanlong Gao [this message]
2011-12-28  6:43       ` Caspar Zhang
2011-12-28  6:40 ` [LTP] [PATCH 7/5] hugemmap: change hard-coded page alloc size to a macro Wanlong Gao
     [not found] ` <4EF308EF.9010604@cn.fujitsu.com>
     [not found]   ` <4EF9169B.2000106@cn.fujitsu.com>
2012-01-20 14:40     ` [LTP] [PATCH 0/5] Automatically mount hugetlbfs for hugemmap tests Cyril Hrubis

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=4EFAB5FB.1070907@cn.fujitsu.com \
    --to=gaowanlong@cn.fujitsu.com \
    --cc=caspar@casparzhang.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox