qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 0/2] Implement YIELD to yield in ARM and Thumb t


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 0/2] Implement YIELD to yield in ARM and Thumb translators
Date: Fri, 26 Jun 2015 15:28:37 +0100

On 26 June 2015 at 15:25, Paolo Bonzini <address@hidden> wrote:
>
>
> On 26/06/2015 16:04, Peter Maydell wrote:
>> Ping?
>
> Oh, YIELD was what I was thinking of in the thread about IPIs, not WFE
> (which would require SEV on the other core)...

Linux doesn't in practice put YIELD insns into its busy loops,
so this series is more of a completeness thing than an actual
attempt to solve the problem in the other thread.

I think the right fix for the other thread's problems is that
we should not allow any TCG CPU to run for an unbounded period
of time -- we should always switch to another CPU after some
period of time if the CPU hasn't ended up coming back out to
the top-level loop of its own accord. That's definitely post-2.4
material though.

-- PMM



reply via email to

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