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] [PATCH] cpus: use cpu_is_stopped efficiently

2013-08-01 Thread tiejun.chen
On 08/01/2013 07:38 PM, � wrote: Hi, Am 26.07.2013 10:47, schrieb Tiejun Chen: It makes more sense and simple later. Signed-off-by: Tiejun Chen --- cpus.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/cpus.c b/cpus.c index c232265..a997632 100644 ---

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

2013-08-01 Thread tiejun.chen
On 07/26/2013 04:47 PM, Tiejun Chen wrote: It makes more sense and simple later. Any feedback :) Tiejun Signed-off-by: Tiejun Chen --- cpus.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/cpus.c b/cpus.c index c232265..a997632 100644 --- a/cpus.c +