Damn, sorry for noise, On 09/18, Oleg Nesterov wrote: > > Now. In theory this this code is wrong: > > if (Y) { > BUG_ON(X == 0); > }
Of course without READ_ONCE() or barrier() in between this code is buggy in any case. But I hope you understand what I tried to say... Oleg. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/