[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Add two arch hooks to gnttab_release_mappings()



Add two arch hooks to gnttab_release_mappings().
The c/s 8409:b3edbeea3e79 changed gnttab_release_mappings() such that
it doesn't put page/type reference count because it is done implicitly
when page table is destructed.
It is x86 specific issue and it isn't the case for ia64 and powerpc.
Introduce two arch hook to address it.

Notes on powerpc.
I checked powerpc code very roughly and wasn't able to find any
code which does page/type reference count operation on grant mapped pages.
So I concluded that page is leaked. But I'm not sure.
Please correct me if I'm worng.

-- 
yamahata

Attachment: 14378_c268103362bb_gnttab_release_mappings_put_page_and_type.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.