]> git.baikalelectronics.ru Git - kernel.git/commit
srcu: Adjust default auto-expediting holdoff
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 27 Apr 2017 14:52:35 +0000 (07:52 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 27 Apr 2017 15:35:24 +0000 (08:35 -0700)
commit1f205b9398f9877b6ff458db5e1beefd52b5e694
treea5cf2250c8a7962c198089c3eb6b7236aa9cbc0a
parent8ea29e2ba1c9eb4a1085f9dbf64f339638c290a1
srcu: Adjust default auto-expediting holdoff

The default value for the kernel boot parameter srcutree.exp_holdoff
is 50 microseconds, which is too long for good Tree SRCU performance
(compared to Classic SRCU) on the workloads tested by Mike Galbraith.
This commit therefore sets the default value to 25 microseconds, which
shows excellent results in Mike's testing.

Reported-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Tested-by: Mike Galbraith <efault@gmx.de>
kernel/rcu/srcutree.c