From: Tim Deegan Subject: Re: [PATCH 2/4] x86/hap: Remove bogus assertion in hap_free_p2m_page() Date: Tue, 24 Sep 2013 13:26:43 +0100 Message-ID: <20130924122643.GD17586@ocelot.phlegethon.org> References: <1380024638-14983-1-git-send-email-andrew.cooper3@citrix.com> <1380024638-14983-3-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1380024638-14983-3-git-send-email-andrew.cooper3@citrix.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: Andrew Cooper Cc: Keir Fraser , Jan Beulich , Xen-devel List-Id: xen-devel@lists.xenproject.org At 13:10 +0100 on 24 Sep (1380028236), Andrew Cooper wrote: > --- a/xen/arch/x86/mm/hap/hap.c > +++ b/xen/arch/x86/mm/hap/hap.c > @@ -289,7 +289,6 @@ static void hap_free_p2m_page(struct domain *d, struct page_info *pg) > d->arch.paging.hap.p2m_pages--; > d->arch.paging.hap.total_pages++; > hap_free(d, page_to_mfn(pg)); > - ASSERT(d->arch.paging.hap.p2m_pages >= 0); Huh, I'm surprised clang didn't complain about that one. Acked-by: Tim Deegan .