From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Dunlap Subject: Re: [PATCH 2 of 5] Clean up locking now that p2m lockups are fully synchronized Date: Thu, 2 Feb 2012 14:31:22 +0000 Message-ID: <1328193082.21722.31.camel@elijah> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Andres Lagar-Cavilla Cc: "xen-devel@lists.xensource.com" , George Dunlap , "andres@gridcentric.ca" , "Tim (Xen.org)" , "keir.xen@gmail.com" , "adin@gridcentric.ca" List-Id: xen-devel@lists.xenproject.org On Wed, 2012-02-01 at 19:56 +0000, Andres Lagar-Cavilla wrote: > @@ -1445,7 +1449,7 @@ p2m_get_nestedp2m(struct vcpu *v, uint64 > nestedp2m_unlock(d); > return p2m; > } > - p2m_unlock(p2m); > + gfn_unlock(p2m, gfn, 0); > } It looks like maybe you forgot to change the corresponding p2m_lock() to gfn_lock(), here in p2m.c:p2m_get_nestedp2m()? Other than that, I think the PoD stuff looks fine. So regarding PoD stuff: Acked-by: George Dunlap