From: Roland Dreier <rdreier@cisco.com>
To: joe Shmoe <jsmoe3@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: kernel page table mapping for >1GB <3 GB for x86 arch without PAE
Date: Fri, 28 Aug 2009 12:49:29 -0700 [thread overview]
Message-ID: <ada4orrra5y.fsf@cisco.com> (raw)
In-Reply-To: <812804.57438.qm@web45209.mail.sp1.yahoo.com> (joe Shmoe's message of "Fri, 28 Aug 2009 11:40:56 -0700 (PDT)")
> But my question is with regard to setting up the page tables during the kernel initialization in such a way so that entire RAM upto 4GB can be mapped. i.e virtual to physical address mapping. My question is strictly with reg. to physical address mapping only.
>
> Why does kernel stop at 1GB (896 MB to be exact) while mapping from linear to physical address.
Because it wants to be able to give userspace 3GB of address space. And
userspace mapping cannot be a linear mapping to physical memory -- it
must be real virtual memory that has proper access permissions and can
handle mmap'ed files, shared libraries, etc etc. So userspace cannot
share the kernel's linear mapping.
prev parent reply other threads:[~2009-08-28 19:49 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-28 18:08 kernel page table mapping for >1GB <3 GB for x86 arch without PAE joe Shmoe
2009-08-28 18:12 ` Roland Dreier
2009-08-28 18:40 ` joe Shmoe
2009-08-28 19:13 ` Valdis.Kletnieks
2009-08-28 19:44 ` joe Shmoe
2009-08-28 19:53 ` Alan Cox
2009-08-28 20:23 ` joe Shmoe
2009-08-28 22:16 ` Alan Cox
2009-08-29 0:20 ` joe Shmoe
2009-08-29 13:05 ` Alan Cox
2009-08-29 14:40 ` joe Shmoe
2009-08-28 21:07 ` joe Shmoe
2009-08-28 22:11 ` Alan Cox
2009-08-28 19:49 ` Roland Dreier [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=ada4orrra5y.fsf@cisco.com \
--to=rdreier@cisco.com \
--cc=jsmoe3@yahoo.com \
--cc=linux-kernel@vger.kernel.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