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
You need to sign in or sign up before continuing.
  • linux
  • kernel
  • timer.c
Find file BlameHistoryPermalink
  • Alex Williamson's avatar
    [PATCH] optimize writer path in time_interpolator_get_counter() · 486d46ae
    Alex Williamson authored Sep 06, 2005
    
    
          Christoph Lameter <clameter@engr.sgi.com>
    
    When using a time interpolator that is susceptible to jitter there's
    potentially contention over a cmpxchg used to prevent time from going
    backwards.  This is unnecessary when the caller holds the xtime write
    seqlock as all readers will be blocked from returning until the write is
    complete.  We can therefore allow writers to insert a new value and exit
    rather than fight with CPUs who only hold a reader lock.
    
    Signed-off-by: default avatarAlex Williamson <alex.williamson@hp.com>
    Signed-off-by: default avatarChristoph Lameter <clameter@sgi.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    486d46ae
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7