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
  • time
  • timer_list.c
Find file BlameHistoryPermalink
  • Frederic Weisbecker's avatar
    tick: Split nohz and highres features from nohz_mode · 7988e5ae
    Frederic Weisbecker authored Feb 25, 2024
    
    
    The nohz mode field tells about low resolution nohz mode or high
    resolution nohz mode but it doesn't tell about high resolution non-nohz
    mode.
    
    In order to retrieve the latter state, tick_cancel_sched_timer() must
    fiddle with struct hrtimer's internals to guess if the tick has been
    initialized in high resolution.
    
    Move instead the nohz mode field information into the tick flags and
    provide two new bits: one to know if the tick is in nohz mode and
    another one to know if the tick is in high resolution. The combination
    of those two flags provides all the needed informations to determine
    which of the three tick modes is running.
    
    Signed-off-by: default avatarFrederic Weisbecker <frederic@kernel.org>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    Reviewed-by: default avatarThomas Gleixner <tglx@linutronix.de>
    Link: https://lore.kernel.org/r/20240225225508.11587-14-frederic@kernel.org
    7988e5ae
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7