qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC PATCH 3/4] cpu_exec: Add sleeping algorithm


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [RFC PATCH 3/4] cpu_exec: Add sleeping algorithm
Date: Tue, 27 May 2014 17:54:33 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

Il 27/05/2014 17:49, Sebastian Tanase ha scritto:
Why doesn't it have to update original_low and original_extra, and
why doesn't it have to take into account original_extra (the new
cpu->icount_extra is zero, but what about the old one)?

The reason I don't update original_low and original_extra is because
in this case the function will exit (from what I understood):

You're right. Of course this becomes moot if you move the updating code to a separate function; otherwise, please add a comment.

You didn't answer the rest of the question---is it right to ignore original_extra, or was it a bug?

Paolo



reply via email to

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