From: Paolo Bonzini Date: Thu, 9 Jun 2011 13:32:58 +0000 (-0400) Subject: call_rcu: drop mutex X-Git-Tag: v0.6.0~29 X-Git-Url: https://git.liburcu.org/?a=commitdiff_plain;ds=sidebyside;h=2870aa1ec4cc2472ec09f72e2d758bc8d4739181;hp=2870aa1ec4cc2472ec09f72e2d758bc8d4739181;p=urcu.git call_rcu: drop mutex The mutex is being used only to protect OR accesses to the flags. Just use atomic operations for that. [ Edit: this also fixes busy-looping on flags that were previously read without volatile access, which could lead to never-ending loop given the appropriate set of compiler optimisations. ] Signed-off-by: Paolo Bonzini Signed-off-by: Mathieu Desnoyers ---