Tag: 03c885913f914d17124432dd50caf2923a80847c

IB/qib: Replace rcu_assign_pointer() with RCU_INIT_POINTER() in qib_qp.c

Author: Andreea-Cristina Bernat <bernat.ada@gmail.com> According to RCU_INIT_POINTER()’s block comment 3.a, it can be used if “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. “3. The referenced data structure has already been exposed to readers either at compile time …

Continue reading