Files
kernel_arpi/include/linux
Paul E. McKenney 22607d66bb srcu: Specify auto-expedite holdoff time
On small systems, in the absence of readers, expedited SRCU grace
periods can complete in less than a microsecond.  This means that an
eight-CPU system can have all CPUs doing synchronize_srcu() in a tight
loop and almost always expedite.  This might actually be desirable in
some situations, but in general it is a good way to needlessly burn
CPU cycles.  And in those situations where it is desirable, your friend
is the function synchronize_srcu_expedited().

For other situations, this commit adds a kernel parameter that specifies
a holdoff between completing the last SRCU grace period and auto-expediting
the next.  If the next grace period starts before the holdoff expires,
auto-expediting is disabled.  The holdoff is 50 microseconds by default,
and can be tuned to the desired number of nanoseconds.  A value of zero
disables auto-expediting.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Tested-by: Mike Galbraith <efault@gmx.de>
2017-04-26 16:32:17 -07:00
..
2017-03-07 14:30:38 +01:00
2017-02-24 17:46:55 -08:00
2017-02-27 10:07:47 -08:00
2017-03-12 23:51:34 -07:00
2017-03-22 00:18:22 -07:00
2017-03-22 16:16:17 +01:00
2017-02-24 17:46:57 -08:00
2017-03-01 09:50:58 -08:00
2017-03-02 08:56:04 -07:00
2017-02-27 18:43:46 -08:00
2017-03-21 14:41:46 -07:00