On Thu, Aug 13, 2015 at 04:49:41AM -0600, Jan Beulich wrote: > The function shouldn't return NULL after having obtained a reference, > or else the caller won't know to drop it. > > Also its result shouldn't be ignored - if calling code is certain that > a page already has a non-zero refcount, it better ASSERT()s so. > > Finally this as well as get_page() and put_page() are required to be > available on all architectures - move the declarations to xen/mm.h. > > Signed-off-by: Jan Beulich <jbeul...@suse.com> > Reviewed-by: Tim Deegan <t...@xen.org>
Release-acked-by: Wei Liu <wei.l...@citrix.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel