Re: [Qemu-devel] [patch v4 10/16] memory: introduce lock ops for MemoryRegionOps

2012-10-23 Thread Jan Kiszka
On 2012-10-23 07:53, liu ping fan wrote: > On Mon, Oct 22, 2012 at 6:30 PM, Avi Kivity wrote: >> On 10/22/2012 11:23 AM, Liu Ping Fan wrote: >>> This can help memory core to use mr's fine lock to mmio dispatch. >>> >>> diff --git a/memory.c b/memory.c >>> index d528d1f..86d5623 100644 >>> --- a/me

Re: [Qemu-devel] [patch v4 10/16] memory: introduce lock ops for MemoryRegionOps

2012-10-22 Thread liu ping fan
On Mon, Oct 22, 2012 at 6:30 PM, Avi Kivity wrote: > On 10/22/2012 11:23 AM, Liu Ping Fan wrote: >> This can help memory core to use mr's fine lock to mmio dispatch. >> >> diff --git a/memory.c b/memory.c >> index d528d1f..86d5623 100644 >> --- a/memory.c >> +++ b/memory.c >> @@ -1505,13 +1505,27

[Qemu-devel] [patch v4 10/16] memory: introduce lock ops for MemoryRegionOps

2012-10-22 Thread Liu Ping Fan
This can help memory core to use mr's fine lock to mmio dispatch. Signed-off-by: Liu Ping Fan --- memory.c | 16 +++- memory.h |2 ++ 2 files changed, 17 insertions(+), 1 deletions(-) diff --git a/memory.c b/memory.c index d528d1f..86d5623 100644 --- a/memory.c +++ b/memory.c

Re: [Qemu-devel] [patch v4 10/16] memory: introduce lock ops for MemoryRegionOps

2012-10-22 Thread Avi Kivity
On 10/22/2012 11:23 AM, Liu Ping Fan wrote: > This can help memory core to use mr's fine lock to mmio dispatch. > > diff --git a/memory.c b/memory.c > index d528d1f..86d5623 100644 > --- a/memory.c > +++ b/memory.c > @@ -1505,13 +1505,27 @@ void set_system_io_map(MemoryRegion *mr) > > uint64_t