Re: [Qemu-devel] [PATCH 11/15] lock: introduce global lock for device tree

2012-08-09 Thread Avi Kivity
On 08/09/2012 10:27 AM, liu ping fan wrote: > On Wed, Aug 8, 2012 at 5:42 PM, Avi Kivity wrote: >> On 08/08/2012 09:25 AM, Liu Ping Fan wrote: >>> From: Liu Ping Fan >>> >> >> Please explain the motivation. AFAICT, the big qemu lock is sufficient. >> > Oh, this is one of the series locks for the

Re: [Qemu-devel] [PATCH 11/15] lock: introduce global lock for device tree

2012-08-09 Thread Paolo Bonzini
Il 09/08/2012 09:28, liu ping fan ha scritto: > On Wed, Aug 8, 2012 at 5:41 PM, Paolo Bonzini wrote: >> Il 08/08/2012 08:25, Liu Ping Fan ha scritto: >>> From: Liu Ping Fan >>> >>> Signed-off-by: Liu Ping Fan >>> --- >>> cpus.c | 12 >>> main-loop.h |3 +++ >>> 2 files c

Re: [Qemu-devel] [PATCH 11/15] lock: introduce global lock for device tree

2012-08-09 Thread liu ping fan
On Wed, Aug 8, 2012 at 5:41 PM, Paolo Bonzini wrote: > Il 08/08/2012 08:25, Liu Ping Fan ha scritto: >> From: Liu Ping Fan >> >> Signed-off-by: Liu Ping Fan >> --- >> cpus.c | 12 >> main-loop.h |3 +++ >> 2 files changed, 15 insertions(+), 0 deletions(-) >> >> diff --gi

Re: [Qemu-devel] [PATCH 11/15] lock: introduce global lock for device tree

2012-08-09 Thread liu ping fan
On Wed, Aug 8, 2012 at 5:42 PM, Avi Kivity wrote: > On 08/08/2012 09:25 AM, Liu Ping Fan wrote: >> From: Liu Ping Fan >> > > Please explain the motivation. AFAICT, the big qemu lock is sufficient. > Oh, this is one of the series locks for the removal of big qemu lock. The degradation of big lock

Re: [Qemu-devel] [PATCH 11/15] lock: introduce global lock for device tree

2012-08-08 Thread Avi Kivity
On 08/08/2012 09:25 AM, Liu Ping Fan wrote: > From: Liu Ping Fan > Please explain the motivation. AFAICT, the big qemu lock is sufficient. -- error compiling committee.c: too many arguments to function

Re: [Qemu-devel] [PATCH 11/15] lock: introduce global lock for device tree

2012-08-08 Thread Paolo Bonzini
Il 08/08/2012 08:25, Liu Ping Fan ha scritto: > From: Liu Ping Fan > > Signed-off-by: Liu Ping Fan > --- > cpus.c | 12 > main-loop.h |3 +++ > 2 files changed, 15 insertions(+), 0 deletions(-) > > diff --git a/cpus.c b/cpus.c > index b182b3d..a734b36 100644 > --- a/cpu

[Qemu-devel] [PATCH 11/15] lock: introduce global lock for device tree

2012-08-07 Thread Liu Ping Fan
From: Liu Ping Fan Signed-off-by: Liu Ping Fan --- cpus.c | 12 main-loop.h |3 +++ 2 files changed, 15 insertions(+), 0 deletions(-) diff --git a/cpus.c b/cpus.c index b182b3d..a734b36 100644 --- a/cpus.c +++ b/cpus.c @@ -611,6 +611,7 @@ static void qemu_tcg_init_cpu_s