On Thu, Jul 26, 2012 at 9:15 PM, Avi Kivity <[email protected]> wrote: > On 07/26/2012 04:14 PM, liu ping fan wrote: >>> >>> From the description above, I don't see why it can't be a mutex. >>> >> Searching in the device tree (or MemoryRegion view) can be often in >> parallel, especially in mmio-dispatch code path > > In mmio dispatch we have a pointer to the object, we don't need to > search anything. Is device tree search a hot path? > I think, we need lock to protect searching --phys_page_find() from deleter--DeviceClass:unmap, so rwlock? > > -- > error compiling committee.c: too many arguments to function > > -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
- [PATCH 0/5] prepare unplug out of protection of global loc... Liu Ping Fan
- [PATCH 1/5] qom: adopt rwlock to protect accessing de... Liu Ping Fan
- Re: [PATCH 1/5] qom: adopt rwlock to protect acce... Paolo Bonzini
- Re: [PATCH 1/5] qom: adopt rwlock to protect ... liu ping fan
- Re: [PATCH 1/5] qom: adopt rwlock to prot... Avi Kivity
- Re: [PATCH 1/5] qom: adopt rwlock to... liu ping fan
- Re: [PATCH 1/5] qom: adopt rwloc... Avi Kivity
- Re: [PATCH 1/5] qom: adopt r... liu ping fan
- Re: [PATCH 1/5] qom: adopt r... Avi Kivity
- [PATCH 3/5] hotplug: introduce qdev_unplug_ack() to r... Liu Ping Fan
- [PATCH 2/5] exec.c: use refcnt to protect device duri... Liu Ping Fan
- Re: [PATCH 2/5] exec.c: use refcnt to protect dev... Stefan Hajnoczi
- Re: [PATCH 2/5] exec.c: use refcnt to protect... liu ping fan
- Re: [PATCH 2/5] exec.c: use refcnt to pro... Paolo Bonzini
- Re: [PATCH 2/5] exec.c: use refcnt t... liu ping fan
- Re: [PATCH 2/5] exec.c: use refcnt to protect dev... Avi Kivity
