WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ppc-devel

Re: [Xen-devel] RFC: xencomm in common

Le Jeudi 24 Août 2006 03:44, Isaku Yamahata a écrit :
> Hi Tristan.
> Since I looked the patch very roughly, I might be wrong and parania though.
>
> xencomm_copy_from_guest(), xencomm_copy_to_guest() converts
> address, then acessses a page.
> The Xen/IA64 P2M table is lockless so that the page can be freed
> by another cpu and used for other purpose at the same time.
> (Actually such a guest behaviour doesn't make sense, but possible.)
> get_page()/put_page() are necessary to prevent such a situation.
> Actually Xen/IA64's vcpu_get_domain_bundle() and
> efi_translate_domain_addr() do it.
Ok, I have to add get_page/put_page.
Thank you for the comment.

Tristan.

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

<Prev in Thread] Current Thread [Next in Thread>