From: Tim Deegan Subject: Re: [PATCH] x86/HAP: drop pointless assertions Date: Thu, 24 Apr 2014 13:47:38 +0200 Message-ID: <20140424114738.GC54145@deinos.phlegethon.org> References: <53566EF9020000780000AB5A@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WdI7x-0003ps-5f for xen-devel@lists.xenproject.org; Thu, 24 Apr 2014 11:47:41 +0000 Content-Disposition: inline In-Reply-To: <53566EF9020000780000AB5A@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: xen-devel List-Id: xen-devel@lists.xenproject.org At 12:30 +0100 on 22 Apr (1398166233), Jan Beulich wrote: > Just like for shadow code, hap_map_domain_page() is just a thin > wrapper around map_domain_page(), which cannot fail. Asserting its > success is redundant. > > hap_unmap_domain_page() should also not be used for something not > mapped through hap_map_domain_page(). > > Signed-off-by: Jan Beulich Applied, thanks. Tim.