From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OB5kN-0002ce-Of for qemu-devel@nongnu.org; Sun, 09 May 2010 08:36:39 -0400 Received: from [140.186.70.92] (port=40621 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OB5kM-0002bg-Kx for qemu-devel@nongnu.org; Sun, 09 May 2010 08:36:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OB5kK-0007xB-6W for qemu-devel@nongnu.org; Sun, 09 May 2010 08:36:38 -0400 Received: from lo.gmane.org ([80.91.229.12]:36398) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OB5kJ-0007wv-Up for qemu-devel@nongnu.org; Sun, 09 May 2010 08:36:36 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OB5kE-0003Of-MV for qemu-devel@nongnu.org; Sun, 09 May 2010 14:36:30 +0200 Received: from p5de956ec.dip.t-dialin.net ([93.233.86.236]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 May 2010 14:36:30 +0200 Received: from bernhard.kohl by p5de956ec.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 May 2010 14:36:30 +0200 From: Bernhard Kohl Date: Sun, 09 May 2010 14:36:19 +0200 Message-ID: References: <4BE2CA41.8060701@nsn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: <4BE2CA41.8060701@nsn.com> Subject: [Qemu-devel] Re: [PATCH][RESEND] exec: optimize lduw_phys and stw_phys List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Am 06.05.2010 15:55, schrieb Bernhard Kohl: > Implementation of the optimized code for these two functions. > > This is necessary for virtio which reads and writes VirtQueue index > fields using these functions. The assumption is that this are atomic > operations, which is not the case, if the memcpy() function which is > used in the non optimized code does single byte copying. This happens > for example with an older WindRiver glibc. > > Signed-off-by: Bernhard Kohl Hi, the same patch posted by Michael S. Tsirkin was commited one hour after I sent this message. topic: [PATCH] qemu: address todo comment in exec.c commit: 733f0b02c80c3a7106d8327a83948ab68db10ea7 So this issue is closed. Bernhard