summaryrefslogtreecommitdiffstats
path: root/fs/9p/mux.c
diff options
context:
space:
mode:
authorOleg Nesterov2006-03-24 12:15:50 +0100
committerLinus Torvalds2006-03-24 16:33:20 +0100
commitcaa9ee771de3195ae85ac6f8cb550f53e9ecdd82 (patch)
tree8aa692f337e071718e698baefc631b58b446beff /fs/9p/mux.c
parent[PATCH] Range checking in do_proc_dointvec_(userhz_)jiffies_conv (diff)
downloadkernel-qcow2-linux-caa9ee771de3195ae85ac6f8cb550f53e9ecdd82.tar.gz
kernel-qcow2-linux-caa9ee771de3195ae85ac6f8cb550f53e9ecdd82.tar.xz
kernel-qcow2-linux-caa9ee771de3195ae85ac6f8cb550f53e9ecdd82.zip
[PATCH] rcu_process_callbacks: don't cli() while testing ->nxtlist
__rcu_process_callbacks() disables interrupts to protect itself from call_rcu() which adds new entries to ->nxtlist. However we can check "->nxtlist != NULL" with interrupts enabled, we can't get "false positives" because call_rcu() can only change this condition from 0 to 1. Tested with rcutorture.ko. Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Acked-by: Dipankar Sarma <dipankar@in.ibm.com> Cc: "Paul E. McKenney" <paulmck@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/9p/mux.c')
0 files changed, 0 insertions, 0 deletions