Re: [Qemu-devel] [PATCH 1/2] 9p-synth: fix read-side critical sections

2012-08-13 Thread Harsh Bora
On 08/08/2012 05:25 PM, Paolo Bonzini wrote: The read-side critical sections in 9p-synth currently only include the navigation of the list. This is incorrect; it works for two reasons, first obviously because rcu_read_lock/unlock are still no-ops; second, because elements of the list are never d

[Qemu-devel] [PATCH 1/2] 9p-synth: fix read-side critical sections

2012-08-08 Thread Paolo Bonzini
The read-side critical sections in 9p-synth currently only include the navigation of the list. This is incorrect; it works for two reasons, first obviously because rcu_read_lock/unlock are still no-ops; second, because elements of the list are never deleted from the list (only added). In fact, onl