From: James Bottomley <James.Bottomley@steeleye.com>
To: John Marvin <jsm@udlkern.fc.hp.com>
Cc: PARISC list <parisc-linux@lists.parisc-linux.org>
Subject: Re: [parisc-linux] Proposal for altering our Page Table layouts
Date: 12 Apr 2004 18:44:13 -0500 [thread overview]
Message-ID: <1081813454.2234.51.camel@mulgrave> (raw)
In-Reply-To: <200404122331.i3CNVxI03436@udlkern.fc.hp.com>
On Mon, 2004-04-12 at 18:31, John Marvin wrote:
> Let's not forget that the machine independent VM code assumes a 2 or 3
> level page table, walks those page tables, allocates page tables, etc.
> So, let's forget about theory for a minute, and start talking
> realistically. Have you considered how you would abstract an inverted
> page table design so that it would fit within the machine independent VM
> design for page table support? I haven't given it more than about 5
> minutes of thought, but I don't see a way of doing it (Note that I am
> not for this idea at all).
I think we can all agree that the results presented in the paper show
(albeit indirectly) that IPT performs worse than a 2 level page table
(FMPT in the paper).
However, as far as linux goes, the abstraction would actually cover a 1
level page table as well ... and we could make a HPT directly emulate a
1-level table as long as we did the hash chain walking within the
pgd_offset macro.
> If you can't do it (i.e. hide it completely within the parisc arch code) then
> you need to be talking to Linus and convince him first, unless you are
> advocating maintaining a large patch against machine independent code.
However, realistically, I think a global HPT is incompatible with the
way linux does VM and a local HPT (one per process) while possible, gets
us into awful memory allocation problems to the extent that it's not
worth bothering with. Therefore, I think a 2 level table will be
optimal for us.
James
next prev parent reply other threads:[~2004-04-12 23:53 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-12 23:31 [parisc-linux] Proposal for altering our Page Table layouts John Marvin
2004-04-12 23:44 ` James Bottomley [this message]
2004-04-13 14:28 ` Carlos O'Donell
-- strict thread matches above, loose matches on Subject: below --
2004-04-09 14:38 John Marvin
2004-04-11 13:13 ` James Bottomley
2004-04-12 4:32 ` Grant Grundler
2004-04-12 14:20 ` James Bottomley
2004-04-09 12:16 James Bottomley
2004-04-09 20:12 ` Joel Soete
2004-04-10 18:49 ` Carlos O'Donell
2004-04-10 19:11 ` James Bottomley
2004-04-10 21:46 ` Carlos O'Donell
2004-04-10 23:22 ` James Bottomley
2004-04-10 19:12 ` James Bottomley
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=1081813454.2234.51.camel@mulgrave \
--to=james.bottomley@steeleye.com \
--cc=jsm@udlkern.fc.hp.com \
--cc=parisc-linux@lists.parisc-linux.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