rcu: Better explain the condition parameter of rcu_dereference_check()
authorDavid Howells <dhowells@redhat.com>
Fri, 9 Apr 2010 22:39:11 +0000 (15:39 -0700)
committerIngo Molnar <mingo@elte.hu>
Wed, 14 Apr 2010 10:20:04 +0000 (12:20 +0200)
commitc08c68dd76bd6b776bc0eb45a5e8f354ed772cdf
tree5324c73474b1e73631392de814e8ecebd5956d5b
parentb62730baea32f86fe91a7930e4b7ee8d82778b79
rcu: Better explain the condition parameter of rcu_dereference_check()

Better explain the condition parameter of
rcu_dereference_check() that describes the conditions under
which the dereference is permitted to take place (and
incorporate Yong Zhang's suggestion).  This condition is only
checked under lockdep proving.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: laijs@cn.fujitsu.com
Cc: dipankar@in.ibm.com
Cc: mathieu.desnoyers@polymtl.ca
Cc: josh@joshtriplett.org
Cc: dvhltc@us.ibm.com
Cc: niv@us.ibm.com
Cc: peterz@infradead.org
Cc: rostedt@goodmis.org
Cc: Valdis.Kletnieks@vt.edu
Cc: eric.dumazet@gmail.com
LKML-Reference: <1270852752-25278-2-git-send-email-paulmck@linux.vnet.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/rcupdate.h