[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] x86/PoD: use clear_domain_page()
On Mon, Sep 14, 2015 at 11:26 AM, Jan Beulich <JBeulich@xxxxxxxx> wrote: > Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> Acked-by: George Dunlap <george.dunlap@xxxxxxxxxx> > > --- a/xen/arch/x86/mm/p2m-pod.c > +++ b/xen/arch/x86/mm/p2m-pod.c > @@ -107,11 +107,7 @@ p2m_pod_cache_add(struct p2m_domain *p2m > * promise to provide zero pages. So we scrub pages before using. > */ > for ( i = 0; i < (1 << order); i++ ) > - { > - char *b = map_domain_page(_mfn(mfn_x(page_to_mfn(page)) + i)); > - clear_page(b); > - unmap_domain_page(b); > - } > + clear_domain_page(_mfn(mfn_x(page_to_mfn(page)) + i)); > > /* First, take all pages off the domain list */ > lock_page_alloc(p2m); > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@xxxxxxxxxxxxx > http://lists.xen.org/xen-devel > _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |