Skip to contentSkip to conversation

Delivery Status Notification (Delay)

PATCH [email protected] 1 participant 1 message Jun 9, 2017

lore
Share & tools
lore
#0 lore raw

** Delivery incomplete **

There was a temporary problem delivering your message to [email protected]. Gmail will retry for 46 more hours. You'll be notified if the delivery fails permanently.

-------------------------Blur-------------------------
This email is forwarded from a MASKED EMAIL you created using Blur. (https://dnt.abine.com/#help/faq/faq-whataremaskedemails).
IF THIS IS SPAM, CLICK HERE TO BLOCK:
https://dnt.abine.com/#/block_email/[email protected]/FWD-737QHYSMHVAYQAUCAOIQBDAAGAQLMA2YAMHECCJDLIBAYAWYAKIAZAQHSMCCWMBLIA4UANQUEIGCIMBKMAZUZ4AAEAACA===@opayq.com

Want to shop safely and privately online? Go Premium: https://dnt.abine.com/?pk_campaign=maskHeader#premium
-------------------------by Abine-------------------------

commit 3127e85ba934a2be8c16b3277af88ccce948946a

Author:     Jan Beulich <[email protected]>
AuthorDate: Tue Jun 6 14:37:12 2017 +0200
Commit:     Jan Beulich <[email protected]>
CommitDate: Tue Jun 6 14:37:12 2017 +0200

x86/HAP: don't open code clear_domain_page()

Also drop a stray initializer.

---
 xen/arch/x86/mm/hap/hap.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
xen/arch/x86/mm/hap/hap.c +2 -5
index 8476269..872e2a9 100644
@@ -248,8 +248,7 @@ static void hap_clean_dirty_bitmap(struct domain *d)
 /************************************************/
 static struct page_info *hap_alloc(struct domain *d)
 {
-    struct page_info *pg = NULL;
-    void *p;
+    struct page_info *pg;
 
     ASSERT(paging_locked_by_me(d));
 
@@ -259,9 +258,7 @@ static struct page_info *hap_alloc(struct domain *d)
 
     d->arch.paging.hap.free_pages--;
 
-    p = __map_domain_page(pg);
-    clear_page(p);
-    unmap_domain_page(p);
+    clear_domain_page(page_to_mfn(pg));
 
     return pg;
 }

--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
[email protected]
https://lists.xenproject.org/xen-changelog

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel