From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: [PATCH 1/2] x86/p2m: clean up altp2m Date: Fri, 29 Apr 2016 08:49:19 -0600 Message-ID: <5723908F02000078000E744C@prv-mh.provo.novell.com> References: <57238EAA02000078000E741D@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part17216E7F.2__=" Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aw9jJ-0000Ee-Vg for xen-devel@lists.xenproject.org; Fri, 29 Apr 2016 14:49:18 +0000 In-Reply-To: <57238EAA02000078000E741D@prv-mh.provo.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: xen-devel Cc: George Dunlap , Andrew Cooper , Wei Liu List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part17216E7F.2__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Signed-off-by: Jan Beulich --- a/xen/arch/x86/mm/p2m.c +++ b/xen/arch/x86/mm/p2m.c @@ -618,9 +618,11 @@ void p2m_teardown(struct p2m_domain *p2m =20 void p2m_final_teardown(struct domain *d) { - /* We must teardown unconditionally because + /* + * We must teardown both of them unconditionally because * we initialise them unconditionally. */ + p2m_teardown_altp2m(d); p2m_teardown_nestedp2m(d); =20 /* Iterate over all p2m tables per domain */ --=__Part17216E7F.2__= Content-Type: text/plain; name="x86-altp2m-teardown.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="x86-altp2m-teardown.patch" x86/p2m: clean up altp2m=0A=0ASigned-off-by: Jan Beulich =0A=0A--- a/xen/arch/x86/mm/p2m.c=0A+++ b/xen/arch/x86/mm/p2m.c=0A@@ = -618,9 +618,11 @@ void p2m_teardown(struct p2m_domain *p2m=0A =0A void = p2m_final_teardown(struct domain *d)=0A {=0A- /* We must teardown = unconditionally because=0A+ /*=0A+ * We must teardown both of them = unconditionally because=0A * we initialise them unconditionally.=0A = */=0A+ p2m_teardown_altp2m(d);=0A p2m_teardown_nestedp2m(d);=0A = =0A /* Iterate over all p2m tables per domain */=0A --=__Part17216E7F.2__= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwOi8vbGlzdHMueGVuLm9y Zy94ZW4tZGV2ZWwK --=__Part17216E7F.2__=--