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

[Xen-devel] question on get_page_and_type()



 
Could someone please explain the following
What is the purpose of get_page_and_type(page, domain, PGT_writable_page) and why is it needed when doing a grant copy in __gnttab_copy()?
Why can't we just use get_page() to prevent the page from being freed while we are doing the copy?
Thanks
 
Renato
 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel