[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2] add page_get_owner_and_reference() related ASSERT()s
On Thu, 2015-08-13 at 04:49 -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 <jbeulich@xxxxxxxx> > Reviewed-by: Tim Deegan <tim@xxxxxxx> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> Thanks! _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |