public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Stephen C. Tweedie" <sct@redhat.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Venkatesh Ramamurthy <venkateshr@softhome.net>,
	"Stephen C. Tweedie" <sct@redhat.com>,
	"H. Peter Anvin" <hpa@zytor.com>,
	linux-kernel@vger.kernel.org
Subject: Re: RFC: pageable kernel-segments
Date: Fri, 20 Apr 2001 19:51:50 +0100	[thread overview]
Message-ID: <20010420195150.A7325@redhat.com> (raw)
In-Reply-To: <040201c0c9a5$87d05c60$7253e59b@megatrends.com> <E14qcE1-0001Pu-00@the-village.bc.nu>
In-Reply-To: <E14qcE1-0001Pu-00@the-village.bc.nu>; from alan@lxorguk.ukuu.org.uk on Fri, Apr 20, 2001 at 03:49:30PM +0100

Hi,

On Fri, Apr 20, 2001 at 03:49:30PM +0100, Alan Cox wrote:

> There is a proposal (several it seems) to make 2.5 replace the conventional
> unix swap with a filesystem of backing store for anonymous objects. That will
> mean each object has its own vm area and inode and thus we can start blowing
> away all user mode page tables when we want.

Not without major VM overhaul.

The problem is MAP_PRIVATE, where a single vma can contain both normal
file-backed pages and anonymous pages at the same time.  You don't
even know whose anonymous page it is --- a process with anon pages can
fork, so that later on some of the child's anon pages actually come
from the parent's anon space instead of the child's.

Right now all of the magic that makes this work is in the page tables.
To remove page tables we'd need additional structures all through the
VM to track anonymous pages, and that's exactly where the FreeBSD VM
starts to get extremely messy compared to ours.

--Stephen

  parent reply	other threads:[~2001-04-20 19:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-17 15:57 RFC: pageable kernel-segments Heusden, Folkert van
2001-04-17 16:07 ` Disconnect
     [not found]   ` <01041720013700.02396@idun>
2001-04-20 13:41     ` Disconnect
2001-04-17 19:21 ` H. Peter Anvin
2001-04-17 23:58   ` Albert D. Cahalan
2001-04-20 12:13   ` Stephen C. Tweedie
2001-04-20 14:23     ` Venkatesh Ramamurthy
2001-04-20 14:49       ` Alan Cox
2001-04-20 15:40         ` Venkatesh Ramamurthy
2001-04-20 18:51         ` Stephen C. Tweedie [this message]
2001-04-21 15:48           ` Rik van Riel

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=20010420195150.A7325@redhat.com \
    --to=sct@redhat.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=venkateshr@softhome.net \
    /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