xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Julien Grall <julien.grall@linaro.org>
To: xen-devel@lists.xenproject.org
Cc: Ian Campbell <Ian.Campbell@citrix.com>,
	patches@linaro.org, George Dunlap <george.dunlap@eu.citrix.com>,
	Julien Grall <julien.grall@linaro.org>, Tim Deegan <tim@xen.org>,
	stefano.stabellini@citrix.com
Subject: Re: [PATCH 0/8] xen/arm: Handle correctly foreign mapping
Date: Thu, 05 Dec 2013 17:10:06 +0000	[thread overview]
Message-ID: <52A0B36E.8080309@linaro.org> (raw)
In-Reply-To: <1386258131-755-1-git-send-email-julien.grall@linaro.org>

George: I forgot to add that for the release perspective, this series is 
a bug fix for Xen 4.4 on ARM.

Without this series, dom0 will run out of memory sooner or later.

On 12/05/2013 03:42 PM, Julien Grall wrote:
> Hello,
>
> This patch series aims to fix "Failed to unmap" message in dom0 when a guest
> is creating. Actually it will result to leak dom0 memory.
>
> The series is based on pvh dom0 v5 patch series
> (http://www.gossamer-threads.com/lists/xen/devel/309493?page=last) from Mukesh.
>
>      - Patch #1: this patch add support to remove correctly foreign page
>      on ARM, if it's possible I would like to merge with patch #6 of Mukesh.
>      - Patch #2: prepare work for the other patch
>      - Patch #3-6: add support for p2m type
>      - Patch #7: set p2m type for foreign page
>      - Patch #8: it's not really part of this serie. It adds support for
>      read-only grant-mapping.
>
> In the ideal world, this patch series and the pvh dom0 series should be mixed
> to avoid to introduce dummy functions that will be removed later.
>
> Sincerely yours,
>
> Cc: George Dunlap <george.dunlap@eu.citrix.com>
> Cc: Mukesh Rathor <mukesh.rathor@oracle.com>
>
> Julien Grall (8):
>    DO NOT APPLY: xen/arm: Correctly support foreign page removing on ARM
>    xen/arm: move mfn_to_p2m_entry in arch/arm/p2m.c
>    xen/arm: Implement p2m_type_t as an enum
>    xen/arm: Store p2m type in each page of the guest
>    xen/arm: p2m: Add p2m_get_entry
>    xen/arm: Retrieve p2m type in get_page_from_gfn
>    xen/arm: Set foreign page type to p2m_map_foreign
>    xen/arm: grant-table: Support read-only mapping
>
>   xen/arch/arm/mm.c          |   26 ++++++++-------
>   xen/arch/arm/p2m.c         |   78 ++++++++++++++++++++++++++++++++++++--------
>   xen/common/memory.c        |   12 ++++---
>   xen/include/asm-arm/p2m.h  |   43 +++++++++++++++++-------
>   xen/include/asm-arm/page.h |   22 -------------
>   5 files changed, 117 insertions(+), 64 deletions(-)
>

-- 
Julien Grall

      parent reply	other threads:[~2013-12-05 17:10 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-05 15:42 [PATCH 0/8] xen/arm: Handle correctly foreign mapping Julien Grall
2013-12-05 15:42 ` [PATCH 1/8] DO NOT APPLY: xen/arm: Correctly support foreign page removing on ARM Julien Grall
2013-12-05 15:42 ` [PATCH 2/8] xen/arm: move mfn_to_p2m_entry in arch/arm/p2m.c Julien Grall
2013-12-05 15:47   ` Ian Campbell
2013-12-05 15:50     ` Julien Grall
2013-12-05 15:42 ` [PATCH 3/8] xen/arm: Implement p2m_type_t as an enum Julien Grall
2013-12-05 15:51   ` Egger, Christoph
2013-12-05 15:56     ` Ian Campbell
2013-12-09 11:16       ` Egger, Christoph
2013-12-09 11:38         ` Ian Campbell
2013-12-05 15:52   ` Ian Campbell
2013-12-05 16:01     ` Julien Grall
2013-12-05 16:14       ` Ian Campbell
2013-12-05 16:28         ` Julien Grall
2013-12-05 16:38           ` Ian Campbell
2013-12-05 16:44             ` Julien Grall
2013-12-05 16:56               ` Ian Campbell
2013-12-05 21:26                 ` Julien Grall
2013-12-05 16:07     ` Tim Deegan
2013-12-05 16:19       ` Ian Campbell
2013-12-05 16:31         ` Tim Deegan
2013-12-05 16:39           ` Ian Campbell
2013-12-05 17:24             ` Tim Deegan
2013-12-05 15:42 ` [PATCH 4/8] xen/arm: Store p2m type in each page of the guest Julien Grall
2013-12-05 15:55   ` Ian Campbell
2013-12-05 16:02     ` Ian Campbell
2013-12-05 16:07     ` Julien Grall
2013-12-05 15:42 ` [PATCH 5/8] xen/arm: p2m: Add p2m_get_entry Julien Grall
2013-12-05 16:07   ` Ian Campbell
2013-12-05 16:09     ` Tim Deegan
2013-12-05 15:42 ` [PATCH 6/8] xen/arm: Retrieve p2m type in get_page_from_gfn Julien Grall
2013-12-05 16:23   ` Ian Campbell
2013-12-05 16:45     ` Julien Grall
2013-12-09  2:36     ` Julien Grall
2013-12-09  9:57       ` Ian Campbell
2013-12-05 15:42 ` [PATCH 7/8] xen/arm: Set foreign page type to p2m_map_foreign Julien Grall
2013-12-05 16:34   ` Ian Campbell
2013-12-05 16:41     ` Julien Grall
2013-12-05 16:54       ` Ian Campbell
2013-12-05 17:39         ` Julien Grall
2013-12-05 17:49           ` Ian Campbell
2013-12-09  2:14     ` Julien Grall
2013-12-05 15:42 ` [PATCH 8/8] xen/arm: grant-table: Support read-only mapping Julien Grall
2013-12-05 16:36   ` Ian Campbell
2013-12-05 15:44 ` [PATCH 0/8] xen/arm: Handle correctly foreign mapping Julien Grall
2013-12-05 17:10 ` Julien Grall [this message]

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=52A0B36E.8080309@linaro.org \
    --to=julien.grall@linaro.org \
    --cc=Ian.Campbell@citrix.com \
    --cc=george.dunlap@eu.citrix.com \
    --cc=patches@linaro.org \
    --cc=stefano.stabellini@citrix.com \
    --cc=tim@xen.org \
    --cc=xen-devel@lists.xenproject.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;
as well as URLs for NNTP newsgroup(s).