Re: [RFC PATCH 5/6] implement per-cpu&per-domain state machinecall_srcu()

From: Peter Zijlstra
Date: Mon Mar 12 2012 - 13:26:43 EST


On Thu, 2012-03-08 at 11:49 -0800, Paul E. McKenney wrote:
>
> I too have used (long)(a - b) for a long time, but I saw with my own eyes
> the glee in the compiler-writers' eyes when they discussed signed overflow
> being undefined in the C standard. I believe that the reasons for signed
> overflow being undefined are long obsolete, but better safe than sorry.

Thing is, if they break that the whole kernel comes falling down, I
really wouldn't worry about RCU at that point. But to each their
pet-paranoia I guess ;-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/