Re: [PATCH 2/2] target: use RCU_INIT_POINTER() when NULLing.
From: Paul E. McKenney
Date: Tue May 03 2016 - 09:07:28 EST
On Tue, May 03, 2016 at 01:45:20AM -0700, Christoph Hellwig wrote:
> On Mon, May 02, 2016 at 11:06:44AM -0700, Paul E. McKenney wrote:
> > And for v. But how do I do that without C++ templates?
> >
> > Also, does __builtin_constant_p() work reliably on a parameter?
> > Especially when the compiler decides not to do the inlining?
>
> Yeah, it's going to be a pain indeed, guess that's why it hasn't been
> done before..
Speaking of pain and things that haven't been done before, would you
be interested in being in the first group to review an attempt to
formalize memory-barriers.txt?
Thanx, Paul