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
  • Makefile
Find file BlameHistoryPermalink
  • Baoquan He's avatar
    crash: split vmcoreinfo exporting code out from crash_core.c · 443cbaf9
    Baoquan He authored Jan 24, 2024
    Now move the relevant codes into separate files:
    kernel/crash_reserve.c, include/linux/crash_reserve.h.
    
    And add config item CRASH_RESERVE to control its enabling.
    
    And also update the old ifdeffery of CONFIG_CRASH_CORE, including of
    <linux/crash_core.h> and config item dependency on CRASH_CORE
    accordingly.
    
    And also do renaming as follows:
     - arch/xxx/kernel/{crash_core.c => vmcore_info.c}
    because they are only related to vmcoreinfo exporting on x86, arm64,
    riscv.
    
    And also Remove config item CRASH_CORE, and rely on CONFIG_KEXEC_CORE to
    decide if build in crash_core.c.
    
    [yang.lee@linux.alibaba.com: remove duplicated include in vmcore_info.c]
      Link: https://lkml.kernel.org/r/20240126005744.16561-1-yang.lee@linux.alibaba.com
    Link: https://lkml.kernel.org/r/20240124051254.67105-3-bhe@redhat.com
    
    
    Signed-off-by: default avatarBaoquan He <bhe@redhat.com>
    Signed-off-by: default avatarYang Li <yang.lee@linux.alibaba.com>
    Acked-by: default avatarHari Bathini <hbathini@linux.ibm.com>
    Cc: Al Viro <viro@zeniv.linux.org.uk>
    Cc: Eric W. Biederman <ebiederm@xmission.com>
    Cc: Pingfan Liu <piliu@redhat.com>
    Cc: Klara Modin <klarasmodin@gmail.com>
    Cc: Michael Kelley <mhklinux@outlook.com>
    Cc: Nathan Chancellor <nathan@kernel.org>
    Cc: Stephen Rothwell <sfr@canb.auug.org.au>
    Cc: Yang Li <yang.lee@linux.alibaba.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    443cbaf9
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7