Re: [Qemu-devel] [PATCH v2 2/2] Replace rwlocks with RCU variants of interfaces.

2011-10-13 Thread Aneesh Kumar K.V
On Fri, 14 Oct 2011 02:05:02 +0530, Harsh Prateek Bora wrote: > Use QLIST_INSERT_HEAD_RCU and rcu_read_lock/unlock instead of rwlocks. > Use v9fs_synth_mutex as a write-only mutex to handle concurrent writers. > > Signed-off-by: Harsh Prateek Bora > --- > hw/9pfs/virtio-9p-synth.c | 26 +

Re: [Qemu-devel] [PATCH v2 2/2] Replace rwlocks with RCU variants of interfaces.

2011-10-13 Thread Harsh Bora
On 10/14/2011 02:05 AM, Harsh Prateek Bora wrote: Use QLIST_INSERT_HEAD_RCU and rcu_read_lock/unlock instead of rwlocks. Use v9fs_synth_mutex as a write-only mutex to handle concurrent writers. This patch is based on top of: http://repo.or.cz/w/qemu/v9fs.git/commitdiff/d647a2337e6e010c9f733d1ff

[Qemu-devel] [PATCH v2 2/2] Replace rwlocks with RCU variants of interfaces.

2011-10-13 Thread Harsh Prateek Bora
Use QLIST_INSERT_HEAD_RCU and rcu_read_lock/unlock instead of rwlocks. Use v9fs_synth_mutex as a write-only mutex to handle concurrent writers. Signed-off-by: Harsh Prateek Bora --- hw/9pfs/virtio-9p-synth.c | 26 -- 1 files changed, 12 insertions(+), 14 deletions(-) d