From: Mathieu Desnoyers Date: Mon, 7 May 2012 15:18:14 +0000 (-0400) Subject: rculfhash: replace unneeded rcu_dereference by CMM_LOAD_SHARED X-Git-Tag: v0.7.0~18 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=a85eff522c253434a9c2b53d6c3a702842fb1d5d;hp=a85eff522c253434a9c2b53d6c3a702842fb1d5d;p=userspace-rcu.git rculfhash: replace unneeded rcu_dereference by CMM_LOAD_SHARED The difference between the two is that CMM_LOAD_SHARED() does not imply a read barrier between the read and following uses of the data pointed to by the pointer read. All sites that only use the pointer load for its bits (never dereference) don't need the read barrier implied by rcu_dereference. Reviewed-by: "Paul E. McKenney" Signed-off-by: Mathieu Desnoyers ---