Searched hist:"46 fdb093" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/init/ |
H A D | Kconfig | 46fdb093 Tue Oct 26 04:11:40 CDT 2010 Paul E. McKenney <paulmck@linux.vnet.ibm.com> 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>
|