All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: Tim Deegan <tim@xen.org>
Cc: xen-devel@lists.xensource.com,
	Andres Lagar-Cavilla <andres@lagarcavilla.org>
Subject: Re: mark pages in p2m_ram_paging_out state read-only
Date: Thu, 24 Nov 2011 19:24:15 +0100	[thread overview]
Message-ID: <20111124182415.GA24717@aepfle.de> (raw)
In-Reply-To: <20111124172215.GQ77868@ocelot.phlegethon.org>

On Thu, Nov 24, Tim Deegan wrote:

> > Is this a good idea? If the guest is accessing the page, then paging out
> > should stop immediately. We're risking complex races for a tiny tiny gain.
> 
> I don't think that this would introduce any new races, but yes - this is
> probably a hint that this page is a poor candidate to be paged out.
> We might as well abandon the page-out rather than probably having to
> page it back in immediately.

In the current state there will be a stall in the guest due to the
fault, until the page comes back. 
With this change the guest can still make progress. 
Can the read-execute access be detected anyway to stop paging?

  reply	other threads:[~2011-11-24 18:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1616.1322135934.12970.xen-devel@lists.xensource.com>
2011-11-24 17:09 ` mark pages in p2m_ram_paging_out state read-only Andres Lagar-Cavilla
2011-11-24 17:22   ` Tim Deegan
2011-11-24 18:24     ` Olaf Hering [this message]
2011-11-24 18:40       ` Olaf Hering
2011-11-24 18:41       ` Andres Lagar-Cavilla
2011-11-14 16:53 Olaf Hering
2011-11-24 11:38 ` Tim Deegan

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=20111124182415.GA24717@aepfle.de \
    --to=olaf@aepfle.de \
    --cc=andres@lagarcavilla.org \
    --cc=tim@xen.org \
    --cc=xen-devel@lists.xensource.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.