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

From: Muhammad Falak R Wani
Date: Thu May 05 2016 - 14:35:27 EST


On Thu, May 05, 2016 at 11:31:19AM -0700, Christoph Hellwig wrote:
> 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.


Sorry, my bad!

Wont send any of these now. I just thought it might be the right thing
to do, till the time Paul et al make it do the right thing.

-mfrw