Re: [PATCH 2/2] target: use RCU_INIT_POINTER() when NULLing.

From: Christoph Hellwig
Date: Tue May 03 2016 - 04:45:29 EST


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..