From: William Lee Irwin III <wli@holomorphy.com>
To: John Smith <penguin2047@hotmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: PTE --> 2 values??
Date: Sun, 23 Nov 2003 22:03:57 -0800 [thread overview]
Message-ID: <20031124060357.GW22764@holomorphy.com> (raw)
In-Reply-To: <BAY10-DAV61cvpzTHkz0000160a@hotmail.com>
On Sun, Nov 23, 2003 at 11:50:15PM -0500, John Smith wrote:
> I saw that Linux is using a 3 level page tables, pgd, pmd and pte. The value
> in the pte can refer to an actual page in memory OR an address on the swap
> device. How does the kernel distinguish the two values such that if the
> value is refering to an swap device address, it will not lookup the address
> in memory ??
There is a present bit. All other bits are available to the OS when the
present bit says "not present". On many machines, Linux' 3-level tree is
a pure software construct, and the processor is informed of translations
in other ways (e.g. inverted pagetables, direct TLB insertion).
-- wli
prev parent reply other threads:[~2003-11-24 6:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-24 4:50 John Smith
2003-11-24 6:03 ` William Lee Irwin III [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=20031124060357.GW22764@holomorphy.com \
--to=wli@holomorphy.com \
--cc=linux-kernel@vger.kernel.org \
--cc=penguin2047@hotmail.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
all inboxes | Powered by JetHome®