From: Keir Fraser Subject: Re: [patch] ACM ops interface Date: Thu, 8 Jun 2006 19:42:10 +0100 Message-ID: References: <1149791571.13780.60.camel@basalt.austin.ibm.com> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1149791571.13780.60.camel@basalt.austin.ibm.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Hollis Blanchard Cc: xen-devel@lists.xensource.com, Reiner Sailer , xen-ppc-devel List-Id: xen-devel@lists.xenproject.org On 8 Jun 2006, at 19:32, Hollis Blanchard wrote: >>> First, it isn't using XEN_GUEST_HANDLEs where it should (i.e. when >> using >>> pointers in the interface). What's a little scary is that because >> it's >>> using void* everywhere, we didn't get any compiler warnings (if >> you're >>> passing buffers, maybe 'unsigned char *' would be a better type?). >> >> Keir responded to this point already > > I didn't see that, actually. Yeah, I don't think I did. Anyway, should I take Hollis's patch or do you want it worked on some more? As for copy_to/from_user sleeping, they don't sleep in Xen but it would be nice to avoid putting it in a locked region anyway in case we want to do anything clever in future. I may start asserting that in debug builds. -- Keir