xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] make ballooned out pages have a valid mapping at all times
@ 2013-07-22 16:21 Stefano Stabellini
  2013-07-22 16:28 ` [PATCH v2 1/2] xen/balloon: set a mapping for ballooned out pages Stefano Stabellini
  2013-07-22 16:28 ` [PATCH v2 2/2] xen/m2p: use GNTTABOP_unmap_and_replace to reinstate the original mapping Stefano Stabellini
  0 siblings, 2 replies; 25+ messages in thread
From: Stefano Stabellini @ 2013-07-22 16:21 UTC (permalink / raw)
  To: xen-devel; +Cc: Ian Campbell, Stefano Stabellini, David Vrabel, alex, dcrisan

Hi all,
this patch series limits problems caused by tcp retransmits on NFS when
the original block pages were mapped from a foreign domain and now the
mapping is gone.

It accomplishes the goal by:

1) mapping all ballooned out pages to a per-cpu "balloon_trade_page";
2) making sure that once a grant is unmapped, the original mapping to
the per-cpu balloon_trade_page is restored atomically.

The first patch accomplishes (1), the second patch uses
GNTTABOP_unmap_and_replace to atomically unmap a grant and restore the
original mapping.



Stefano Stabellini (2):
      xen/balloon: set a mapping for ballooned out pages
      xen/m2p: use GNTTABOP_unmap_and_replace to reinstate the original mapping

 arch/x86/xen/p2m.c    |   20 +++++++++++------
 drivers/xen/balloon.c |   54 ++++++++++++++++++++++++++++++++++++++++++++++--
 drivers/xen/gntdev.c  |   11 +--------
 include/xen/balloon.h |    2 +
 4 files changed, 68 insertions(+), 19 deletions(-)


Cheers,

Stefano

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2013-07-23 17:33 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-22 16:21 [PATCH v2 0/2] make ballooned out pages have a valid mapping at all times Stefano Stabellini
2013-07-22 16:28 ` [PATCH v2 1/2] xen/balloon: set a mapping for ballooned out pages Stefano Stabellini
2013-07-22 16:51   ` David Vrabel
2013-07-22 17:22     ` Ian Campbell
2013-07-22 17:26       ` David Vrabel
2013-07-22 17:32         ` Ian Campbell
2013-07-23  9:58           ` David Vrabel
2013-07-23 14:27             ` Ian Campbell
2013-07-23 15:03               ` David Vrabel
2013-07-23 17:04                 ` Ian Campbell
2013-07-23 17:20                 ` Stefano Stabellini
2013-07-23 17:33                   ` David Vrabel
2013-07-23 12:49           ` Stefano Stabellini
2013-07-23 14:24             ` Ian Campbell
2013-07-23 13:58     ` Konrad Rzeszutek Wilk
2013-07-22 16:28 ` [PATCH v2 2/2] xen/m2p: use GNTTABOP_unmap_and_replace to reinstate the original mapping Stefano Stabellini
2013-07-22 17:02   ` David Vrabel
2013-07-23 10:35     ` Roger Pau Monné
2013-07-23 12:37       ` Stefano Stabellini
2013-07-23 12:47     ` Stefano Stabellini
2013-07-23 13:57     ` Konrad Rzeszutek Wilk
2013-07-23 14:23       ` Ian Campbell
2013-07-23 14:48         ` Alex Bligh
2013-07-23 14:51           ` Ian Campbell
2013-07-23 15:06             ` Alex Bligh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).