qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH][RESEND] exec: optimize lduw_phys and stw_phys


From: Bernhard Kohl
Subject: [Qemu-devel] Re: [PATCH][RESEND] exec: optimize lduw_phys and stw_phys
Date: Sun, 09 May 2010 14:36:19 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Thunderbird/3.0.4

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 <address@hidden>

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]