All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: Andres Lagar-Cavilla <andres@lagarcavilla.org>
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH 2 of 4] xenpaging: use wait queues
Date: Fri, 2 Dec 2011 17:43:57 +0100	[thread overview]
Message-ID: <20111202164357.GA29226@aepfle.de> (raw)
In-Reply-To: <fa38d847359784f92a266c98b7855924.squirrel@webmail.lagarcavilla.org>

On Fri, Dec 02, Andres Lagar-Cavilla wrote:

> > The pager is in the process of writing the gfn to disk after successful
> > nomination. Its next step is the eviction, which will now fail because
> > the p2mt is not p2m_ram_paging_out anymore. It is already prepared for
> > that failure.
> > The previous MEM_EVENT_FLAG_EVICT_FAIL was not needed in the first
> > place.
> Yes it was! The biggest source of overhead is I/O. Tell the pager to stop
> I/O early. Otherwise, you've done the paging out I/O pointlessly, to find
> out only when you try to finalize the eviction.

I'm not sure how to inform the pager, its most likely in the middle of
write(). Since such an event is rare (in my testing at least) I wonder
wether its worth to make it complicated?

Olaf

  reply	other threads:[~2011-12-02 16:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3014.1322742146.12970.xen-devel@lists.xensource.com>
2011-12-01 15:17 ` [PATCH 2 of 4] xenpaging: use wait queues Andres Lagar-Cavilla
2011-12-01 18:46   ` Olaf Hering
2011-12-01 20:02     ` Andres Lagar-Cavilla
2011-12-02 16:30     ` Andres Lagar-Cavilla
2011-12-02 16:43       ` Olaf Hering [this message]
2011-12-02 17:23         ` Andres Lagar-Cavilla
2011-12-02 17:34           ` Olaf Hering
2011-12-01 11:09 [PATCH 0 of 4] RFC: wait queue usage Olaf Hering
2011-12-01 11:09 ` [PATCH 2 of 4] xenpaging: use wait queues Olaf Hering
2011-12-15 12:28   ` Tim Deegan
2011-12-15 12:40     ` Olaf Hering

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=20111202164357.GA29226@aepfle.de \
    --to=olaf@aepfle.de \
    --cc=andres@lagarcavilla.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.