qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 07/27] tcg: Add EXCP_ATOMIC


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH v2 07/27] tcg: Add EXCP_ATOMIC
Date: Thu, 8 Sep 2016 09:26:13 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

On 09/08/2016 01:38 AM, Alex Bennée wrote:
>> +            } else if (r == EXCP_ATOMIC) {
>> > +                /* ??? When we begin running cpus in parallel, we should
>> > +                   stop all cpus, clear parallel_cpus, and interpret a
>> > +                   single insn with cpu_exec_step.  In the meantime,
>> > +                   we should never get here.  */
>> > +                abort();
> Pranith has been hitting this abort in the latest merged tree with MTTCG
> but I'm a little unclear how it got here. So is the plan the MTTCG
> thread function should do a step_atomic a-la user mode but we'll never
> get here in the single threaded case?
> 

Yes, that's the plan.  I guess I could have filled in that blank, but I see
that I haven't even done that in the v3 patchset.


r~



reply via email to

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