On 02/24/2011 02:34 PM, Avi Kivity wrote:

Hmm, your patch dereferences kvm->memslots without rcu_dereference(). That's a mortal (as in oops) sin.

Sorry, that's wrong, all those places are under ->slots_lock.

Note that sticking an rcu_dereference() blindly may or may not work - we might end up using information from two different generations of kvm->memslots, and using inconsistent data.


This may still hold.

--
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

Reply via email to