OSDN Git Service

documentation: State that rcu_dereference() reloads pointer
authorMilos Vyletel <milos@redhat.com>
Fri, 17 Apr 2015 14:38:04 +0000 (16:38 +0200)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 27 May 2015 19:57:28 +0000 (12:57 -0700)
commited38446424dd531f1b7a167677232a6d400d69d5
tree061898389cefd9fd56264e1b4391134cd42e2cac
parentee7c29be3695996536395f647e8a2ed6b1ab3a0d
documentation: State that rcu_dereference() reloads pointer

Make a note stating that repeated calls of rcu_dereference() may not
return the same pointer if update happens while in critical section.

Reported-by: Jeff Haran <jeff.haran@citrix.com>
Signed-off-by: Milos Vyletel <milos@redhat.com>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Documentation/RCU/whatisRCU.txt