From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Andres Lagar-Cavilla" Subject: Re: [PATCH] x86/PoD: fix (un)locking after 24772:28edc2b31a9b Date: Mon, 13 Aug 2012 06:43:38 -0700 Message-ID: <9e36dafa402ecf37afbe71ffd8834a00.squirrel@webmail.lagarcavilla.org> References: <50290B0C0200007800094750@nat28.tlf.novell.com> Reply-To: andres@lagarcavilla.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <50290B0C0200007800094750@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: George Dunlap , Tim Deegan , Andres Lagar-Cavilla , xen-devel List-Id: xen-devel@lists.xenproject.org > That c/s introduced a double unlock on the out-of-memory error path of > p2m_pod_demand_populate(). > > Signed-off-by: Jan Beulich Acked-by: Andres Lagar-Cavilla Thanks Andres > > --- a/xen/arch/x86/mm/p2m-pod.c > +++ b/xen/arch/x86/mm/p2m-pod.c > @@ -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; > > > >