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] Re: [patch] ACM ops interface

* Reiner Sailer (sailer@xxxxxxxxxx) wrote:
> > Second, copy_to/from_user() has been replaced with copy_to/from_guest(),
> > since you can't copy to "userspace" on all architectures. (To complicate
> > things, there are a couple areas where x86 code actually wants to copy
> > to a virtual address, but copy_to/from_user() is only valid in
> > arch-specific code.)
> 
> Seems a sensible thing to do. This part of the patch makes much sense.

While you're at it, can you fix the things doing copy_to/from with locks
held?  Those could sleep.

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