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-devel

Re: [Xen-devel] swiotlb

That should do the trick. 

K. Y 
 
>>> Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> 04/14/06 2:50 am >>> 

On 13 Apr 2006, at 21:29, Ky Srinivasan wrote:

> Given that the function __sync_single() can be called in an
interrupt
> context, why do we call a   potentially blocking function
> (__copy_to_user) from within this function?

Good point. Would __copy_to_user_inatomic() be safe? It avoids 
might_sleep(). We know that the page fault itself (if any) will not 
block on I/O --  we only use __copy_to_user() to safely catch the fault

and return.

  --  Keir


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


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

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