From: Chris Wright Subject: Re: Re: [patch] ACM ops interface Date: Thu, 8 Jun 2006 11:44:01 -0700 Message-ID: <20060608184401.GJ2724@moss.sous-sol.org> References: <1149778877.13780.5.camel@basalt.austin.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Reiner Sailer Cc: xen-devel@lists.xensource.com, hollisb@us.ibm.com, xen-ppc-devel List-Id: xen-devel@lists.xenproject.org * Reiner Sailer (sailer@us.ibm.com) 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.