qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 6/9] tcg: synchronize cpu->exit_request and cpu-


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 6/9] tcg: synchronize cpu->exit_request and cpu->tcg_exit_req accesses
Date: Fri, 28 Aug 2015 10:50:57 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0


On 28/08/2015 04:19, Emilio G. Cota wrote:
> translate-all.c-1478-    } else {
> translate-all.c:1479:        cpu->tcg_exit_req = 1;

This one is only run in the CPU thread.

> translate-all.c-1643-    cpu->interrupt_request |= mask;
> translate-all.c:1644:    cpu->tcg_exit_req = 1;

This one is only run in user-mode emulation, which also means it is run
in the CPU thread.

Paolo

> Current master certainly doesn't have them, but I wonder if
> you have barriers at those places in the tree you're working on. If not
> I'd expand this patch to add them.



reply via email to

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