lkml.org 
[lkml]   [2016]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] block: partition: use RCU_INIT_POINTER() for NULLing.
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@gmail.com>

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.

\
 
 \ /
  Last update: 2016-05-05 20:41    [W:0.053 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site