* [Qemu-devel] memory ordering emulation in qemu
@ 2012-03-29 20:49 Xin Tong
2012-03-29 20:54 ` Peter Maydell
2012-03-30 1:40 ` 陳韋任
0 siblings, 2 replies; 3+ messages in thread
From: Xin Tong @ 2012-03-29 20:49 UTC (permalink / raw)
To: qemu-devel
I am wondering what the solution in qemu is if the guest architecture
has a stronger memory ordering requirement than the host archiecture ?
memory fences ?
Thanks
Xin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] memory ordering emulation in qemu
2012-03-29 20:49 [Qemu-devel] memory ordering emulation in qemu Xin Tong
@ 2012-03-29 20:54 ` Peter Maydell
2012-03-30 1:40 ` 陳韋任
1 sibling, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2012-03-29 20:54 UTC (permalink / raw)
To: Xin Tong; +Cc: qemu-devel
On 29 March 2012 21:49, Xin Tong <xerox.time.tech@gmail.com> wrote:
> I am wondering what the solution in qemu is if the guest architecture
> has a stronger memory ordering requirement than the host archiecture ?
> memory fences ?
In system mode all guest CPUs run in a single host thread so
there aren't any ordering issues between host CPUs. In linux-user
mode we just hope it isn't actually a problem (threading support
is not exactly particularly reliable anyway).
-- PMM
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] memory ordering emulation in qemu
2012-03-29 20:49 [Qemu-devel] memory ordering emulation in qemu Xin Tong
2012-03-29 20:54 ` Peter Maydell
@ 2012-03-30 1:40 ` 陳韋任
1 sibling, 0 replies; 3+ messages in thread
From: 陳韋任 @ 2012-03-30 1:40 UTC (permalink / raw)
To: Xin Tong; +Cc: qemu-devel
On Thu, Mar 29, 2012 at 04:49:02PM -0400, Xin Tong wrote:
> I am wondering what the solution in qemu is if the guest architecture
> has a stronger memory ordering requirement than the host archiecture ?
> memory fences ?
There was a thread has a similar discussion. See
http://lists.gnu.org/archive/html/qemu-devel/2012-01/msg01897.html
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-03-30 1:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-29 20:49 [Qemu-devel] memory ordering emulation in qemu Xin Tong
2012-03-29 20:54 ` Peter Maydell
2012-03-30 1:40 ` 陳韋任
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).