From: Dongdong Deng Date: Tue, 28 Sep 2010 08:32:43 +0000 (+0800) Subject: rcu: using ACCESS_ONCE() to observe the jiffies_stall/rnp->qsmask value X-Git-Tag: v2.6.37-rc1~215^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ee0a603926cad973e4d384f48c5e279a0fd4118;p=pandora-kernel.git rcu: using ACCESS_ONCE() to observe the jiffies_stall/rnp->qsmask value Using ACCESS_ONCE() to observe the jiffies_stall/rnp->qsmask value due to the caller didn't hold the root_rcu/rnp node's lock. Although use without ACCESS_ONCE() is safe due to the value loaded being used but once, the ACCESS_ONCE() is a good documentation aid -- the variables are being loaded without the services of a lock. Signed-off-by: Dongdong Deng CC: Dipankar Sarma CC: Paul E. McKenney Signed-off-by: Paul E. McKenney --- Reading git-diff-tree failed