[lttng-dev] Alternative to signals/sys_membarrier() in liburcu

Duncan Sands baldrick at free.fr
Thu Feb 12 08:57:51 EST 2015


Hi Michael,

On 11/02/15 01:03, Michael Sullivan wrote:
> I've been looking at the RCU library (as part of gathering examples for my
> research on weak memory models) and was thinking about ways to force other
> threads to issue barriers. Since it seems like sys_membarrier() never made it
> into the kernel, I was pondering whether there was some other way to more or
> less get its effect; as it turns out, there is, but it is a hack: mprotect(2).

is it clear that sys_membarrier is really dead?

Ciao, Duncan.



More information about the lttng-dev mailing list