Re: [PATCH v2 3/4] KVM: cleanup: remove kvm_get_dirty_log()

Avi Kivity
2010-06-24T08:10:52Z

On 06/24/2010 03:58 AM, Marcelo Tosatti wrote:
>
>> Well yes, I expect that not using rcu_dereference() (and
>> srcu_read_lock()) is a bug here.
>>
>> Marcelo?
>>
> No because slots_lock is held which serializes with memslot updates.
>

Right, I need to reread Documentation/kvm/locking.txt.

--
error compiling committee.c: too many arguments to function