[ltt-dev] [PATCH] call_rcu: keep BUSY flag set as long as possible

Paolo Bonzini pbonzini at redhat.com
Thu Jun 9 10:20:29 EDT 2011


On 06/09/2011 04:09 PM, Mathieu Desnoyers wrote:
> Would this be equivalent to not setting:
>
>    uatomic_set(&crdp->futex, 0);
>
> before breaking the loop, but then not decrementing
>
>    uatomic_dec(&crdp->futex);
>
> at the next loop iteration ?

Something like that, yes.

Paolo




More information about the lttng-dev mailing list