Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomai
  • ipipe
  • Repository

Switch branch/tag
  • ipipe
  • arch
  • x86
  • include
  • asm
  • system.h
Find file BlameHistoryPermalink
  • Benjamin LaHaise's avatar
    x86-64: remove locked instruction from switch_to() · 7106a5ab
    Benjamin LaHaise authored Jan 10, 2009
    
    
    Impact: micro-optimization
    
    The patch below removes an unnecessary locked instruction from
    switch_to().  TIF_FORK is only ever set in copy_thread() on initial
    process creation, and gets cleared during the first scheduling of the
    process.  As such, it is safe to use an unlocked test for the flag
    within switch_to().
    Signed-off-by: default avatarBenjamin LaHaise <bcrl@kvack.org>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    7106a5ab

Replace system.h

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.

Imprint & Privacy Policy