On 27/03/2017 10:10, Wei Liu wrote:
> Prefix them with "mm_" and add declarations to asm-x86/mm.h.
>
> They will be needed when we split PV specific code out of x86/mm.c.
>
> No functional change.
>
> Signed-off-by: Wei Liu <wei.l...@citrix.com>

I have to admit that I don't understand why they are called
{get,put}_pg_owner.  Perhaps very historical from Linux?

They are nothing to do with pages, and get a reference on the domain.

I'd recommend s/pg_owner/domain/ so the function calls actually indicate
what object is having the reference taken on it.

~Andrew

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to