From mboxrd@z Thu Jan 1 00:00:00 1970 From: pbonzini@redhat.com (Paolo Bonzini) Date: Thu, 09 Jun 2011 16:20:29 +0200 Subject: [ltt-dev] [PATCH] call_rcu: keep BUSY flag set as long as possible In-Reply-To: References: <1307523558-16960-1-git-send-email-pbonzini@redhat.com> <1307524638-17313-1-git-send-email-pbonzini@redhat.com> Message-ID: <4DF0D6AD.7010500@redhat.com> 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