From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH] coverity: Store the modelling file in the source tree. Date: Wed, 4 Dec 2013 16:33:47 +0000 Message-ID: <529F596B.2060808@citrix.com> References: <1386170963-8980-1-git-send-email-andrew.cooper3@citrix.com> <529F543E.8060407@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <529F543E.8060407@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: David Vrabel Cc: Keir Fraser , Ian Campbell , Tim Deegan , Ian Jackson , Xen-devel , Jan Beulich List-Id: xen-devel@lists.xenproject.org On 04/12/13 16:11, David Vrabel wrote: > On 04/12/13 15:29, Andrew Cooper wrote: >> +/* >> + * unmap_domain_page() will correctly unmap the page, given any virtual >> + * address inside the page. > I think the va must be page aligned? Or am I getting mixed up with the > requirement for map_domain_page_global()? > > David unmap_domain_page() uses PFN_DOWN(va), which discards the bottom 12 bits. unmap_domain_page_global() passes off to vunmap() which does appear to want an aligned pointer. ~Andrew