linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Ric Mason <ric.masonn@gmail.com>
To: Andi Kleen <andi@firstfloor.org>
Cc: linux-mm@kvack.org, Hillf Danton <dhillf@gmail.com>
Subject: Re: Support variable-sized huge pages
Date: Sun, 24 Feb 2013 15:00:18 +0800	[thread overview]
Message-ID: <5129BA82.5070907@gmail.com> (raw)
In-Reply-To: <20130131105227.GI30577@one.firstfloor.org>

On 01/31/2013 06:52 PM, Andi Kleen wrote:
> On Thu, Jan 31, 2013 at 02:23:10AM -0600, 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?
> 1GB pages are only supported under 64bit kernels, and also
> only if you allocate them explicitely with boot options.

It seem that before your patch, we also can set mutiple hugepagesz, but 
hugetlbfs just mount default size, correct? IIUC, how can different size 
huge pages be used? If set mutiple hugepagesz, which one is default size?

>
> -Andi

--
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>

      parent reply	other threads:[~2013-02-24  7:00 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
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 [this message]

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=5129BA82.5070907@gmail.com \
    --to=ric.masonn@gmail.com \
    --cc=andi@firstfloor.org \
    --cc=dhillf@gmail.com \
    --cc=linux-mm@kvack.org \
    /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).