Re: [PATCH] br_multicast: Replace rcu_assign_pointer() with RCU_INIT_POINTER()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Andreea-Cristina Bernat <bernat.ada@xxxxxxxxx>
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@xxxxxxxxx>

Applied.




[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux