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
  • cpu.c
Find file BlameHistoryPermalink
  • Xiaotian Feng's avatar
    sched: Fix set_cpu_active() in cpu_down() · 9ee349ad
    Xiaotian Feng authored Dec 16, 2009
    
    
    Sachin found cpu hotplug test failures on powerpc, which made
    the kernel hang on his POWER box.
    
    The problem is that we fail to re-activate a cpu when a
    hot-unplug fails. Fix this by moving the de-activation into
    _cpu_down after doing the initial checks.
    
    Remove the synchronize_sched() calls and rely on those implied
    by rebuilding the sched domains using the new mask.
    
    Reported-by: default avatarSachin Sant <sachinp@in.ibm.com>
    Signed-off-by: default avatarXiaotian Feng <dfeng@redhat.com>
    Tested-by: default avatarSachin Sant <sachinp@in.ibm.com>
    Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Mike Galbraith <efault@gmx.de>
    LKML-Reference: <20091216170517.500272612@chello.nl>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    9ee349ad
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7