From: Paul E. McKenney Date: Mon, 1 Aug 2011 05:33:02 +0000 (-0700) Subject: rcu: Improve rcu_assign_pointer() and RCU_INIT_POINTER() documentation X-Git-Tag: v3.2-rc1~165^2^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6846c0c54074d47927c90eab4a805115e1ae3292;p=pandora-kernel.git rcu: Improve rcu_assign_pointer() and RCU_INIT_POINTER() documentation The differences between rcu_assign_pointer() and RCU_INIT_POINTER() are subtle, and it is easy to use the the cheaper RCU_INIT_POINTER() when the more-expensive rcu_assign_pointer() should have been used instead. The consequences of this mistake are quite severe. This commit therefore carefully lays out the situations in which it it permissible to use RCU_INIT_POINTER(). Signed-off-by: Paul E. McKenney --- Reading git-diff-tree failed