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
You need to sign in or sign up before continuing.
  • linux
  • kernel
  • panic.c
Find file BlameHistoryPermalink
  • Ryo Takakura's avatar
    printk/panic: Allow cpu backtraces to be written into ringbuffer during panic · bcc954c6
    Ryo Takakura authored Aug 12, 2024
    commit 779dbc2e ("printk: Avoid non-panic CPUs writing
    to ringbuffer") disabled non-panic CPUs to further write messages to
    ringbuffer after panicked.
    
    Since the commit, non-panicked CPU's are not allowed to write to
    ring buffer after panicked and CPU backtrace which is triggered
    after panicked to sample non-panicked CPUs' backtrace no longer
    serves its function as it has nothing to print.
    
    Fix the issue by allowing non-panicked CPUs to write into ringbuffer
    while CPU backtrace is in flight.
    
    Fixes: 779dbc2e
    
     ("printk: Avoid non-panic CPUs writing to ringbuffer")
    Signed-off-by: default avatarRyo Takakura <takakura@valinux.co.jp>
    Reviewed-by: default avatarPetr Mladek <pmladek@suse.com>
    Link: https://lore.kernel.org/r/20240812072703.339690-1-takakura@valinux.co.jp
    
    
    Signed-off-by: default avatarPetr Mladek <pmladek@suse.com>
    bcc954c6
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7