On 18/12/15 07:50, Jan Beulich wrote: > ... since we don't need its virtual address anywhere (it's a > placeholder page only after all). For this to work (and possibly be > done elsewhere too) share_xen_page_with_guest() needs to mark pages > handed to it as Xen heap ones. > > To be on the safe side, also explicitly clear the page (not having done > so was okay due to the XSA-100 fix, but is still a latent bug since we > don't formally guarantee allocations to come out zeroed, and in fact > this property may disappear again as soon as the asynchronous runtime > scrubbing patches arrive). > > Signed-off-by: Jan Beulich <jbeul...@suse.com> > --- > v2: Introduce free_shared_domheap_page().
Thanks. This is much clearer. Reviewed-by: Andrew Cooper <andrew.coop...@citrix.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel