From: Ingo Molnar <mingo@elte.hu>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Andrew Morton <akpm@digeo.com>,
Christoph Hellwig <hch@infradead.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
linux-mm@kvack.org
Subject: Re: [patch] generic nonlinear mappings, 2.5.44-mm2-D0
Date: Tue, 22 Oct 2002 22:49:30 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.44.0210222243200.23215-100000@localhost.localdomain> (raw)
In-Reply-To: <1035319088.31873.149.camel@irongate.swansea.linux.org.uk>
On 22 Oct 2002, Alan Cox wrote:
> Actually I know a few. 2Tb is cheap - its one pci controller and eight
> ide disks.
what we can do is to still use the linear mapping, ie. to impose the limit
only on fremap() users. This is ugly but works. It needs quite some
hacking though, since at the point of pagecache-pte zapping we dont have a
vma handy, so we cannot tell from the pte alone whether it's mapped
linearly or not. We could perhaps use the free bit in the pte to signal
this condition, but i'm not sure whether this is possible on every
architecture. Are there architectures that has no freely OS-usable bit in
the pte?
the limit will become even more prominent once i've moved the protection
bits into the swap pte format as well - that reduces the fremap() limit to
0.5 Tb, for 32-bit ptes.
(there's no real reason to keep the offset in the pte in the linearly
mapped case anyway, besides some vague 'symmetry' arguments.)
Ingo
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/
next prev parent reply other threads:[~2002-10-22 20:49 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-22 17:57 Ingo Molnar
2002-10-22 17:49 ` Christoph Hellwig
2002-10-22 19:23 ` Andrew Morton
2002-10-22 20:27 ` Ingo Molnar
2002-10-22 20:38 ` Alan Cox
2002-10-22 20:42 ` Ingo Molnar
2002-10-22 21:18 ` Alan Cox
2002-10-23 19:09 ` Bryan O'Sullivan
2002-10-22 20:49 ` Ingo Molnar [this message]
2002-10-22 20:19 ` Ingo Molnar
2002-10-23 2:05 ` Andrea Arcangeli
2002-10-23 7:19 ` Ingo Molnar
2002-10-23 11:50 ` Andrea Arcangeli
2002-10-23 14:20 ` Ingo Molnar
2002-10-23 14:23 ` Andrea Arcangeli
2002-10-22 19:13 ` Rik van Riel
2002-10-22 22:27 ` David S. Miller
2002-10-22 22:56 ` Ingo Molnar
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=Pine.LNX.4.44.0210222243200.23215-100000@localhost.localdomain \
--to=mingo@elte.hu \
--cc=akpm@digeo.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.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