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
  • mm
  • page_alloc.c
Find file BlameHistoryPermalink
  • Qi Zheng's avatar
    mm: page_alloc: call panic() when memoryless node allocation fails · 1bc67ca6
    Qi Zheng authored Feb 12, 2023
    In free_area_init(), we will continue to run after allocation of
    memoryless node pgdat fails.  However, in the subsequent process (such as
    when initializing zonelist), the case that NODE_DATA(nid) is NULL is not
    handled, which will cause panic.  Instead of this, it's better to call
    panic() directly when the memory allocation fails during system boot.
    
    Link: https://lkml.kernel.org/r/20230212111027.95520-1-zhengqi.arch@bytedance.com
    
    
    Signed-off-by: default avatarQi Zheng <zhengqi.arch@bytedance.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    1bc67ca6
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7