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

2013-08-04 Thread “tiejun.chen”
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 --- 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

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

2013-08-02 Thread Andreas Färber
Am 02.08.2013 03:43, schrieb Tiejun Chen: > It makes more sense and simple later. > > Signed-off-by: Tiejun Chen > --- > 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: ne

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

2013-08-01 Thread Tiejun Chen
It makes more sense and simple later. Signed-off-by: Tiejun Chen --- v1 -> v2: To optimize performance slightly, we can reorder the two conditions to avoid the non-inline function call if cpu->stopped. cpus.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/