From: mulyadi.santosa@gmail.com (Mulyadi Santosa)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Question about page count
Date: Tue, 21 Jun 2011 23:34:16 +0700 [thread overview]
Message-ID: <BANLkTikOcjfo+yF86FKZMcxyaaNE0CdJAw@mail.gmail.com> (raw)
In-Reply-To: <BANLkTi=diyfECSXUqFNxEKwy9Efh89EcDw@mail.gmail.com>
Hi Dave :)
On Tue, Jun 21, 2011 at 20:23, Dave Hylands <dhylands@gmail.com> wrote:
> On the ARM, you can setup the MMU to map 1Mb regions or 4Kb regions. A
> 1 Mb region only goes through the top level of the MMU, whereas a 4K
> page has to go through 2 levesl, so accessing pages through the 1 Mb
> mapping is faster.
>
> I believe (I'm not 100% sure) that the 256 x 4K pages that make up the
> 1Mb region are a compound page.
Oh, very valuable info...thanks for sharing that...yes, quite make
sense to me. Anyway, I also found this info in
Documentation/vm/pagemap.txt inside kernel tree. I paste here so
everybody could take a quick peek:
"The major consumers of compound
pages are hugeTLB pages (Documentation/vm/hugetlbpage.txt), the SLUB etc.
memory allocators and various device drivers. However in this interface,
only huge/giga pages are made visible to end users."
--
regards,
Mulyadi Santosa
Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
next prev parent reply other threads:[~2011-06-21 16:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-20 13:10 Question about page count Jui-Hao Chiang
2011-06-21 1:46 ` Wick
2011-06-21 5:15 ` Mulyadi Santosa
2011-06-21 13:23 ` Dave Hylands
2011-06-21 16:34 ` Mulyadi Santosa [this message]
2011-06-21 14:25 ` Jui-Hao Chiang
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=BANLkTikOcjfo+yF86FKZMcxyaaNE0CdJAw@mail.gmail.com \
--to=mulyadi.santosa@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.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).