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

Re: [Xen-devel] Possible issue with x86_emulate when writing results back to memory


  • To: Jan Beulich <JBeulich@xxxxxxxx>
  • From: Simon Graham <simon.graham@xxxxxxxxxx>
  • Date: Thu, 9 Jan 2014 16:30:04 +0000
  • Accept-language: en-US
  • Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 09 Jan 2014 16:30:20 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Thread-index: Ac711YmNMUOUVnlMTTS29ThyibIwTgXqECOAAApgbkD//7OCAIAAUwIQ
  • Thread-topic: [Xen-devel] Possible issue with x86_emulate when writing results back to memory

> > My concern was that memcpy is (I assume!) highly optimized - it certainly
> > should be if it isn't and I would worry that a change to make it atomic for
> > the purposes of instruction emulation would result in an across the board
> > perf hit when in most cases it isn't necessary that it be atomic.
> 
> And I didn't mean to fiddle with memcpy(), but rather create a
> specialized copying function just for the use in the context of
> emulation.
> 

-sigh- OK I'll look at that - might not be as bad as I originally thought 
anyway.

> Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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