[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140822.122831.451083152510385540.davem@davemloft.net>
Date: Fri, 22 Aug 2014 12:28:31 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: bernat.ada@...il.com
Cc: stephen@...workplumber.org, bridge@...ts.linux-foundation.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
paulmck@...ux.vnet.ibm.com
Subject: Re: [PATCH] br_multicast: Replace rcu_assign_pointer() with
RCU_INIT_POINTER()
From: Andreea-Cristina Bernat <bernat.ada@...il.com>
Date: Fri, 22 Aug 2014 16:06:09 +0300
> The use of "rcu_assign_pointer()" is NULLing out the pointer.
> According to RCU_INIT_POINTER()'s block comment:
> "1. This use of RCU_INIT_POINTER() is NULLing out the pointer"
> it is better to use it instead of rcu_assign_pointer() because it has a
> smaller overhead.
...
> Signed-off-by: Andreea-Cristina Bernat <bernat.ada@...il.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists