summaryrefslogtreecommitdiffstats
path: root/drivers/vhost/vhost.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2010-08-20 01:57:45 +0200
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2010-08-20 18:00:17 +0200
commit80dcf60e6b97c7363971e7a0a788d8484d35f8a6 (patch)
tree2f493fdf6a7a52675733ac74daa9e1cd9342a030 /drivers/vhost/vhost.c
parentrcu: combine duplicate code, courtesy of CONFIG_PREEMPT_RCU (diff)
downloadlinux-80dcf60e6b97c7363971e7a0a788d8484d35f8a6.tar.xz
linux-80dcf60e6b97c7363971e7a0a788d8484d35f8a6.zip
rcu: apply TINY_PREEMPT_RCU read-side speedup to TREE_PREEMPT_RCU
Replace one of the ACCESS_ONCE() calls in each of __rcu_read_lock() and __rcu_read_unlock() with barrier() as suggested by Steve Rostedt in order to avoid the potential compiler-optimization-induced bug noted by Mathieu Desnoyers. Located-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Suggested-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'drivers/vhost/vhost.c')
0 files changed, 0 insertions, 0 deletions