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
  • include
  • linux
  • vtime.h
Find file BlameHistoryPermalink
  • Frederic Weisbecker's avatar
    sched/vtime: Consolidate IRQ time accounting · 8a6a5920
    Frederic Weisbecker authored Dec 02, 2020
    
    
    The 3 architectures implementing CONFIG_VIRT_CPU_ACCOUNTING_NATIVE
    all have their own version of irq time accounting that dispatch the
    cputime to the appropriate index: hardirq, softirq, system, idle,
    guest... from an all-in-one function.
    
    Instead of having these ad-hoc versions, move the cputime destination
    dispatch decision to the core code and leave only the actual per-index
    cputime accounting to the architecture.
    
    Signed-off-by: default avatarFrederic Weisbecker <frederic@kernel.org>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    Link: https://lore.kernel.org/r/20201202115732.27827-4-frederic@kernel.org
    8a6a5920
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7