linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Stephen C. Tweedie" <sct@redhat.com>
To: "Eric W. Biederman" <ebiederm+eric@ccr.net>
Cc: Colin Plumb <colin@nyx.net>,
	linux-mm@kvack.org, Stephen Tweedie <sct@redhat.com>
Subject: Re: Why don't shared anonymous mappings work?
Date: Wed, 13 Jan 1999 20:21:08 GMT	[thread overview]
Message-ID: <199901132021.UAA06949@dax.scot.redhat.com> (raw)
In-Reply-To: <m1ww2zeifc.fsf@flinx.ccr.net>

Hi,

On 06 Jan 1999 23:55:03 -0600, ebiederm+eric@ccr.net (Eric W. Biederman)
said:

> And of course the last reason I just thought of, which is probably the
> real reason.  Currenlty anonymous pages if the are writable are
> assumed to have exactly one mapping, or if it is in the swap cache the
> page is assumed to be read only.

> So reusing the swap inode could be a real problem.

Yes.  The _only_ reason we can't do anonymous pages right now is the
VM's assumption that all swap cache pages are read-only.  Once we relax
that, the only thing left is the initialisation of anonymous page ptes
(remembering that when we fill in a demand-zero anonymous shared page,
we will have to update that page's pte in every mm which shares the
page).  Other than that, allowing writable swap-cache pages is all that
is required.  It's just too much of a potential destabiliser to add this
close to 2.2.0.

--Stephen

--
This is a majordomo managed list.  To unsubscribe, send a message with
the body 'unsubscribe linux-mm me@address' to: majordomo@kvack.org

  reply	other threads:[~1999-01-13 20:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <199901061523.IAA14788@nyx10.nyx.net>
1999-01-06 19:51 ` Eric W. Biederman
1999-01-07  5:55   ` Eric W. Biederman
1999-01-13 20:21     ` Stephen C. Tweedie [this message]
1999-01-15  6:43 Colin Plumb
  -- strict thread matches above, loose matches on Subject: below --
1999-01-14  3:07 Colin Plumb
1999-01-15  6:07 ` Benjamin C.R. LaHaise
1999-01-13 21:31 Colin Plumb
1999-01-19 14:32 ` Stephen C. Tweedie
1999-01-19 15:23   ` Eric W. Biederman
1999-01-05 12:51 Colin Plumb
1999-01-06  4:05 ` Eric W. Biederman

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=199901132021.UAA06949@dax.scot.redhat.com \
    --to=sct@redhat.com \
    --cc=colin@nyx.net \
    --cc=ebiederm+eric@ccr.net \
    --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