On 10/26/2010 08:58 AM, Gleb Natapov wrote:
>
>  Well, you just changed where srcu index is saved. I don't see how it
>  could make a difference in practice.
>
If there is nested call to srcu read lock if srcu_idx is stored in vcpu
nested call will override previous srcu_idx value and srcu unlock will
not be called on it, but it will be called twice on new srcu_idx value.
If srcu_idx is saved on stack this will not happen, no?

Exactly. The case where srcu_idx is passed as a pointer parameter is still dubious, but we can change that too.

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