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

From: David Miller
Date: Fri Aug 22 2014 - 15:28:38 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/