Re: [Qemu-devel] [RFC v1 1/3] bouce buffer has fine grain lock

2012-11-12 Thread Paolo Bonzini
Il 12/11/2012 07:23, liu ping fan ha scritto: >> > Also, you do not need to keep the lock after address_space_map exits. >> > In fact, it can be released as soon as bounce.buffer is written to. >> > After that point, bounce will not be touched (the lock only serves to >> > serialize writes to bounc

Re: [Qemu-devel] [RFC v1 1/3] bouce buffer has fine grain lock

2012-11-11 Thread liu ping fan
On Sat, Nov 10, 2012 at 9:49 AM, Paolo Bonzini wrote: > Il 09/11/2012 04:14, Liu Ping Fan ha scritto: >> From: Liu Ping Fan >> >> Signed-off-by: Liu Ping Fan >> --- >> exec.c | 21 + >> 1 files changed, 13 insertions(+), 8 deletions(-) >> >> diff --git a/exec.c b/exec.c >>

Re: [Qemu-devel] [RFC v1 1/3] bouce buffer has fine grain lock

2012-11-09 Thread Paolo Bonzini
Il 09/11/2012 04:14, Liu Ping Fan ha scritto: > From: Liu Ping Fan > > Signed-off-by: Liu Ping Fan > --- > exec.c | 21 + > 1 files changed, 13 insertions(+), 8 deletions(-) > > diff --git a/exec.c b/exec.c > index 73d5242..fe84718 100644 > --- a/exec.c > +++ b/exec.c > @

[Qemu-devel] [RFC v1 1/3] bouce buffer has fine grain lock

2012-11-08 Thread Liu Ping Fan
From: Liu Ping Fan Signed-off-by: Liu Ping Fan --- exec.c | 21 + 1 files changed, 13 insertions(+), 8 deletions(-) diff --git a/exec.c b/exec.c index 73d5242..fe84718 100644 --- a/exec.c +++ b/exec.c @@ -3296,6 +3296,15 @@ void address_space_destroy_dispatch(AddressSpace