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
  • wait.c
Find file BlameHistoryPermalink
  • William Lee Irwin III's avatar
    [PATCH] move wait ops' contention case completely out of line · bc341c61
    William Lee Irwin III authored Oct 18, 2004
    
    
    Move the slow paths of wait_on_bit() and wait_on_bit_lock() out of line.
    Also uninline wake_up_bit() to reduce the number of callsites generated,
    and adjust loop startup in __wait_on_bit_lock() to properly reflect its
    usage in the contention case.
    
    Incremental atop the fastcall and wait_on_bit_lock()/test_and_set_bit()
    fixes.  Successfully tested on x86-64.
    
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    bc341c61
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7