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
  • module.c
Find file BlameHistoryPermalink
  • Rusty Russell's avatar
    module: do percpu allocation after uniqueness check. No, really! · 8d8022e8
    Rusty Russell authored Jul 03, 2013
    v3.8-rc1-5-g1fb9341a
    
     was supposed to stop parallel kvm loads exhausting
    percpu memory on large machines:
    
        Now we have a new state MODULE_STATE_UNFORMED, we can insert the
        module into the list (and thus guarantee its uniqueness) before we
        allocate the per-cpu region.
    
    In my defence, it didn't actually say the patch did this.  Just that
    we "can".
    
    This patch actually *does* it.
    
    Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
    Tested-by: default avatarJim Hull <jim.hull@hp.com>
    Cc: stable@kernel.org # 3.8
    8d8022e8
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7