Re: [PATCH] block: partition: use RCU_INIT_POINTER() for NULLing.

From: Christoph Hellwig
Date: Thu May 05 2016 - 14:31:24 EST


On Thu, May 05, 2016 at 11:24:06PM +0530, Muhammad Falak R Wani wrote:
> It is safe to use RCU_INIT_POINTER() to NULL, instead of
> rcu_assign_pointer().
> This results in slightly smaller/faster code.
>
> Signed-off-by: Muhammad Falak R Wani <falakreyaz@xxxxxxxxx>

Muhammad,

please stop sending these patches. They make the code less reusbale,
and we (or rather Paul) are working on making rcu_assign_pointer do
the right thing.