From: ming lei <mlei30@yahoo.com>
To: linuxppc-embedded@ozlabs.org
Subject: double kernel page table entry for the same physical page?!
Date: Wed, 13 Jul 2005 13:10:21 -0700 (PDT) [thread overview]
Message-ID: <20050713201022.69351.qmail@web61023.mail.yahoo.com> (raw)
1. In PPC MMU_init sets up kernel page table for all
the physical pages available(say size is A) to the
virt address starting from PAGE_OFFSET to
(PAGE_OFFSET+A).
Question: does the linux ever touch this section of
page table(virt address from PAGE_OFFSET to
PAGE_OFFSET+A) again? like remove or modify one of the
entry?
2. In VMALLOC, say we have virt address
B(B>PAGE_OFFSET+A), sets up the page table entry for
this B to any one of the physical pages.
Question: For every physical page, it should already
be mapped in #1, but vmalloc maps it again to a virt
address higher. Does it mean in kernel page table, we
may have two PTE entries pointing to the same physical
page, even their virt addresses are different?
Last question:
If this is true, is this platform implemention
specific? Does i386 implemention have same situation?
Thanks,
Ming
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
next reply other threads:[~2005-07-13 20:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-13 20:10 ming lei [this message]
2005-07-13 21:27 ` double kernel page table entry for the same physical page?! Dan Malek
2005-07-13 21:48 ` ming lei
2005-07-13 22:36 ` Dan Malek
2005-07-14 1:57 ` ming lei
2005-07-14 7:15 ` Pantelis Antoniou
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=20050713201022.69351.qmail@web61023.mail.yahoo.com \
--to=mlei30@yahoo.com \
--cc=linuxppc-embedded@ozlabs.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.