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
  • sched_rt.c
Find file BlameHistoryPermalink
  • Gregory Haskins's avatar
    sched: Fully integrate cpus_active_map and root-domain code · 00aec93d
    Gregory Haskins authored Jul 30, 2009
    
    
    Reflect "active" cpus in the rq->rd->online field, instead of
    the online_map.
    
    The motivation is that things that use the root-domain code
    (such as cpupri) only care about cpus classified as "active"
    anyway. By synchronizing the root-domain state with the active
    map, we allow several optimizations.
    
    For instance, we can remove an extra cpumask_and from the
    scheduler hotpath by utilizing rq->rd->online (since it is now
    a cached version of cpu_active_map & rq->rd->span).
    
    Signed-off-by: default avatarGregory Haskins <ghaskins@novell.com>
    Acked-by: default avatarPeter Zijlstra <peterz@infradead.org>
    Acked-by: default avatarMax Krasnyansky <maxk@qualcomm.com>
    Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
    LKML-Reference: <20090730145723.25226.24493.stgit@dev.haskins.net>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    00aec93d
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7