linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Jianguo Wu <wujianguo@huawei.com>
To: Ric Mason <ric.masonn@gmail.com>
Cc: linux-mm@kvack.org, Andi Kleen <andi@firstfloor.org>,
	Hillf Danton <dhillf@gmail.com>
Subject: Re: Support variable-sized huge pages
Date: Thu, 31 Jan 2013 16:57:27 +0800	[thread overview]
Message-ID: <510A31F7.8030005@huawei.com> (raw)
In-Reply-To: <1359620590.1391.5.camel@kernel>

On 2013/1/31 16:23, Ric Mason wrote:

> Hi all,
> 
> It seems that Andi's "Support more pagesizes for
> MAP_HUGETLB/SHM_HUGETLB" patch has already merged. According to the
> patch, x86 will support 2MB and 1GB huge pages. But I just see 
> hugepages-2048kB under /sys/kernel/mm/hugepages/ on my x86_32 PAE desktop.
> Where is 1GB huge pages?

Hi Ric,
By default only has 2M huge pages, you can specify "hugepagesz=1G hugepages=xx" in boot option,
then you can see: /sys/kernel/mm/hugepages/hugepages-1048576kB.

Thanks,
Jianguo Wu

> 
> Regards,
> Ric  
> 
> --
> To unsubscribe, send a message with 'unsubscribe linux-mm' in
> the body to majordomo@kvack.org.  For more info on Linux MM,
> see: http://www.linux-mm.org/ .
> Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
> 
> 



--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2013-01-31  8:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-31  8:23 Support variable-sized huge pages Ric Mason
2013-01-31  8:57 ` Jianguo Wu [this message]
2013-01-31 10:52 ` Andi Kleen
2013-02-05  5:48   ` Ric Mason
2013-02-05  9:51     ` Michal Hocko
2013-02-05 14:08     ` Andi Kleen
2013-02-24  7:00   ` Ric Mason

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=510A31F7.8030005@huawei.com \
    --to=wujianguo@huawei.com \
    --cc=andi@firstfloor.org \
    --cc=dhillf@gmail.com \
    --cc=linux-mm@kvack.org \
    --cc=ric.masonn@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).