[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] Re: [Xen-devel] [PATCH] fix xenctl_cpumap translation to handle bitops accessed like arrays


  • To: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
  • From: Keir Fraser <keir@xxxxxxxxxxxxx>
  • Date: Wed, 17 Jan 2007 13:55:39 +0000
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 17 Jan 2007 05:55:15 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acc6Pyt4afUViqYyEduIGwAX8io7RQ==
  • Thread-topic: [RFC] Re: [Xen-devel] [PATCH] fix xenctl_cpumap translation to handle bitops accessed like arrays



On 17/1/07 12:50, "Jimi Xenidis" <jimix@xxxxxxxxxxxxxx> wrote:

>> Actually, your
>> 'no-op' long_to_byte_bitmap() implementation does not memcpy -- why
>> is that?
> 
> This is a little (possibly dirty) attempt to avoid a copy if no
> conversion is required.
> As long as the caller uses the return value all is well.
> I'd happy to make it a memcpy() and feel better about it.

Yes please.

 K.


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.