X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=src%2Furcu-bp.c;h=ebe96c57da9630d3e43168ee32fa96da95277bfa;hp=c0fac8330bdc43a5d1eb58a6999057461c44a002;hb=2f6618651c31c05ba1adbb5cdcf0d92980c38f38;hpb=5592d04940700ff2bb06307660e28e47fad0606b;ds=sidebyside diff --git a/src/urcu-bp.c b/src/urcu-bp.c index c0fac83..ebe96c5 100644 --- a/src/urcu-bp.c +++ b/src/urcu-bp.c @@ -593,8 +593,13 @@ void rcu_sys_membarrier_status(int available) static void rcu_sys_membarrier_status(int available) { - if (available) - urcu_bp_has_sys_membarrier = 1; + /* + * membarrier has blocking behavior, which changes the + * application behavior too much compared to using barriers when + * synchronize_rcu is used repeatedly (without using call_rcu). + * Don't use membarrier for now, unless its use has been + * explicitly forced when building liburcu. + */ } #endif