All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andres Lagar-Cavilla <andres@lagarcavilla.org>
To: xen-devel@lists.xensource.com
Cc: mike.mcclurg@citrix.com, andres@gridcentric.ca, olaf@aepfle.de,
	jonathan.ludlam@eu.citrix.com, JBeulich@suse.com
Subject: [PATCH 0 of 2] Paging support updates for XCP dom0
Date: Thu, 01 Dec 2011 15:51:53 -0500	[thread overview]
Message-ID: <patchbomb.1322772713@xdev.gridcentric.ca> (raw)

This is a cherry pick of two patches that add support for guest paged out
frames in the XCP 2.6.32 dom0 patch queue.

First patch propagates the ENOENT returned by the hypervisor in the case
of a paged out page, all the way up the call chain to the MMAPBATCH_V2
ioctl. The ioctl is mainly used to harvest those return values and retry.

The second patch adds retry loops to all backend grant operations (map and
netback copy), in the case of a paged out frame.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Acked-by: Patrick Colp <pjcolp@cs.ubc.ca>
Acked-by: Andres Lagar-Cavilla <andres@lagarcavilla>
Ported and submitted by Andres Lagar-Cavilla

 arch/x86/mm/ioremap-xen.c                  |  12 ++----
 drivers/xen/blkback/blkback.c              |   6 ++-
 drivers/xen/blkback/interface.c            |   9 +++-
 drivers/xen/core/gnttab.c                  |   4 +-
 drivers/xen/gntdev/gntdev.c                |  49 +++++++++++++++++------------
 drivers/xen/netback/interface.c            |   5 +-
 drivers/xen/netback/netback.c              |  16 ++++++---
 drivers/xen/scsiback/interface.c           |  10 +++---
 drivers/xen/scsiback/scsiback.c            |   4 +-
 drivers/xen/tpmback/interface.c            |   7 +--
 drivers/xen/tpmback/tpmback.c              |  20 ++++-------
 drivers/xen/usbback/interface.c            |  16 ++++----
 drivers/xen/usbback/usbback.c              |   4 +-
 drivers/xen/xenbus/xenbus_backend_client.c |  10 +++---
 include/xen/gnttab.h                       |  37 ++++++++++++++++++++++
 15 files changed, 130 insertions(+), 79 deletions(-)

             reply	other threads:[~2011-12-01 20:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-01 20:51 Andres Lagar-Cavilla [this message]
2011-12-01 20:51 ` [PATCH 1 of 2] xen/x86: make __direct_remap_pfn_range()'s return value meaningful Andres Lagar-Cavilla
2011-12-02  9:26   ` Jan Beulich
2011-12-02 15:31     ` Andres Lagar-Cavilla
2011-12-02 15:44       ` Jan Beulich
2011-12-02 15:51         ` Andres Lagar-Cavilla
2011-12-01 20:51 ` [PATCH 2 of 2] xenpaging: handle GNTST_eagain in kernel drivers Andres Lagar-Cavilla
2011-12-02  1:34   ` Konrad Rzeszutek Wilk
2011-12-02 15:27     ` Andres Lagar-Cavilla
2011-12-02 16:50       ` Konrad Rzeszutek Wilk
2011-12-17  3:00         ` Adin Scannell
2011-12-02  9:22 ` [PATCH 0 of 2] Paging support updates for XCP dom0 Jan Beulich

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=patchbomb.1322772713@xdev.gridcentric.ca \
    --to=andres@lagarcavilla.org \
    --cc=JBeulich@suse.com \
    --cc=andres@gridcentric.ca \
    --cc=jonathan.ludlam@eu.citrix.com \
    --cc=mike.mcclurg@citrix.com \
    --cc=olaf@aepfle.de \
    --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.