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
  • include
  • linux
  • clockchips.h
Find file BlameHistoryPermalink
  • Peter Zijlstra's avatar
    cpuidle: Fix ct_idle_*() usage · a01353cf
    Peter Zijlstra authored Jan 12, 2023
    
    
    The whole disable-RCU, enable-IRQS dance is very intricate since
    changing IRQ state is traced, which depends on RCU.
    
    Add two helpers for the cpuidle case that mirror the entry code:
    
      ct_cpuidle_enter()
      ct_cpuidle_exit()
    
    And fix all the cases where the enter/exit dance was buggy.
    
    Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
    Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
    Tested-by: default avatarTony Lindgren <tony@atomide.com>
    Tested-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
    Acked-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    Acked-by: default avatarFrederic Weisbecker <frederic@kernel.org>
    Link: https://lore.kernel.org/r/20230112195540.130014793@infradead.org
    a01353cf
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7