summaryrefslogtreecommitdiffstats
path: root/Documentation/Smack.txt
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2010-10-26 11:11:40 +0200
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2010-11-30 07:02:40 +0100
commit46fdb0937f26124700fc9fc80da4776330cc00d3 (patch)
treece3bdf6c0379fdab8c72085f885402751fadea52 /Documentation/Smack.txt
parentrcu: fix race condition in synchronize_sched_expedited() (diff)
downloadlinux-46fdb0937f26124700fc9fc80da4776330cc00d3.tar.xz
linux-46fdb0937f26124700fc9fc80da4776330cc00d3.zip
rcu: Make synchronize_srcu_expedited() fast if running readers
The synchronize_srcu_expedited() function is currently quick if there are no active readers, but will delay a full jiffy if there are any. If these readers leave their SRCU read-side critical sections quickly, this is way too long to wait. So this commit first waits ten microseconds, and only then falls back to jiffy-at-a-time waiting. Reported-by: Avi Kivity <avi@redhat.com> Reported-by: Marcelo Tosatti <mtosatti@redhat.com> Tested-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'Documentation/Smack.txt')
0 files changed, 0 insertions, 0 deletions