From: Andi Kleen <ak@suse.de>
To: Arnd Bergmann <arnd@arndb.de>
Cc: Andi Kleen <ak@suse.de>,
Martin Schwidefsky <schwidefsky@de.ibm.com>,
linux-arch@vger.kernel.org
Subject: Re: 4level page tables architecture porting
Date: Wed, 20 Oct 2004 17:29:23 +0200 [thread overview]
Message-ID: <20041020152923.GC32257@wotan.suse.de> (raw)
In-Reply-To: <200410201706.00435.arnd@arndb.de>
On Wed, Oct 20, 2004 at 05:05:56PM +0200, Arnd Bergmann wrote:
> On Middeweken 20 Oktober 2004 16:39, Andi Kleen wrote:
> > BTW
> > The motivation for really large address space spaces is actually not really
> > to use that much memory, but just to be able to mmap extremly large
> > files. The original reason I started this was because some users wanted
> > to mmap 300GB files and it didn't work because the shared
> > libraries were in the way. So if you consider that it may be worth
> > enlarging it at some point anyways.
>
> Doesn't that mean spending another page for each running process? I would
Yes.
But I see you're using order 1 pages on s390x, in case your hardware
supports 4levels with order 0 pages it may be cheaper to use that.
> rather like to see a way to use a dynamic page table layout, where 32 bit
> tasks always use only two level page tables, while 64 bit tasks start
> with two or three levels and then go to four or five levels when users
> map files that don't fit in.
I don't see how that would work. The stack is always at the top
and .text is near the beginning, so you need the maximum range of
address space, which means all possible levels.
>
> Which architectures are actually capable of doing this? It's probably
> not worth spending much work on that if it's an s390 only thing.
I suppose all architectures with software refilled TLB would be able
to do it in theory. x86-64/i386 isn't one of them.
-Andi
next prev parent reply other threads:[~2004-10-20 15:37 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-20 13:13 4level page tables architecture porting Martin Schwidefsky
2004-10-20 14:39 ` Andi Kleen
2004-10-20 15:05 ` Arnd Bergmann
2004-10-20 15:17 ` Geert Uytterhoeven
2004-10-20 15:29 ` Andi Kleen [this message]
2004-10-20 16:17 ` Martin Schwidefsky
2004-10-20 16:25 ` James Bottomley
2004-10-20 16:42 ` Martin Schwidefsky
2004-10-20 21:32 ` James Bottomley
-- strict thread matches above, loose matches on Subject: below --
2004-10-20 16:23 Luck, Tony
2004-10-15 15:21 Andi Kleen
2004-10-15 18:06 ` David Woodhouse
2004-10-15 19:32 ` Andi Kleen
2004-10-15 19:37 ` David Woodhouse
2004-10-15 21:41 ` David Woodhouse
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=20041020152923.GC32257@wotan.suse.de \
--to=ak@suse.de \
--cc=arnd@arndb.de \
--cc=linux-arch@vger.kernel.org \
--cc=schwidefsky@de.ibm.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