Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Xen: Changelog

[xen-unstable] x86/PoD: fix (un)locking after 24772:28edc2b31a9b

 

 

Xen changelog RSS feed   Index | Next | Previous | View Threaded


patchbot at xen

Aug 14, 2012, 10:55 AM

Post #1 of 1 (33 views)
Permalink
[xen-unstable] x86/PoD: fix (un)locking after 24772:28edc2b31a9b

# HG changeset patch
# User Jan Beulich <jbeulich [at] suse>
# Date 1344932894 -7200
# Node ID dc56a9defa30312a46cfb6ddb578e64cfbc6bc8b
# Parent 33d596f46521ea852e90cf6dbdbf3680d104134c
x86/PoD: fix (un)locking after 24772:28edc2b31a9b

That c/s introduced a double unlock on the out-of-memory error path of
p2m_pod_demand_populate().

Signed-off-by: Jan Beulich <jbeulich [at] suse>
Acked-by: George Dunlap <george.dunlap [at] eu>
Acked-by: Andres Lagar-Cavilla <andres [at] lagarcavilla>
---


diff -r 33d596f46521 -r dc56a9defa30 xen/arch/x86/mm/p2m-pod.c
--- a/xen/arch/x86/mm/p2m-pod.c Mon Aug 13 18:09:33 2012 +0100
+++ b/xen/arch/x86/mm/p2m-pod.c Tue Aug 14 10:28:14 2012 +0200
@@ -1075,6 +1075,7 @@ out_of_memory:
printk("%s: Out of populate-on-demand memory! tot_pages %" PRIu32 " pod_entries %" PRIi32 "\n",
__func__, d->tot_pages, p2m->pod.entry_count);
domain_crash(d);
+ return -1;
out_fail:
pod_unlock(p2m);
return -1;

_______________________________________________
Xen-changelog mailing list
Xen-changelog [at] lists
http://lists.xensource.com/xen-changelog

Xen changelog RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.