qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [v2][PATCH 1/1] cpus: use cpu_is_stopped efficiently


From: “tiejun.chen”
Subject: Re: [Qemu-devel] [v2][PATCH 1/1] cpus: use cpu_is_stopped efficiently
Date: Mon, 5 Aug 2013 09:47:39 +0800
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130623 Thunderbird/17.0.7

On 08/02/2013 09:33 PM, � wrote:
Am 02.08.2013 03:43, schrieb Tiejun Chen:
It makes more sense and simple later.

Signed-off-by: Tiejun Chen <address@hidden>
---
v1 -> v2:

To optimize performance slightly, we can reorder the two conditions to
avoid the non-inline function call if cpu->stopped.

Patch doesn't apply to qemu.git: next_cpu and cpu_thread_is_idle() use
CPUState since a few weeks and do_vm_stop() changed from void to int.
Please remember to rebase before sending patches.

Okay, sorry for this inconvenience.

Tiejun


Thanks, applied to qom-cpu-next (with modified commit message):
https://github.com/afaerber/qemu-cpu/commits/qom-cpu-next

Andreas





reply via email to

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