Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • kernel
  • srcu.c
Find file BlameHistoryPermalink
  • Paul E. McKenney's avatar
    rcu: Make synchronize_srcu_expedited() fast if running readers · 46fdb093
    Paul E. McKenney authored Oct 26, 2010
    
    
    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: default avatarAvi Kivity <avi@redhat.com>
    Reported-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
    Tested-by: default avatarTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
    Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
    46fdb093
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7