Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\panic.c Create Date:2022-07-28 08:59:45
Last Modify:2022-05-22 10:57:01 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:It just happens that oops_enter() and oops_exit() are identically* implemented...

Proto:static void do_oops_enter_exit(void)

Type:void

Parameter:Nothing

459  If Not pause_on_oops Then Return
462  spin_lock_irqsave( & pause_on_oops_lock, flags)
463  If pause_on_oops_flag == 0 Then
465  pause_on_oops_flag = 1
466  Else
468  If Not spin_counter Then
471  Do
475  When --spin_counter cycle
476  pause_on_oops_flag = 0
477  Else
479  When spin_counter cycle
486  spin_unlock_irqrestore( & pause_on_oops_lock, flags)
Caller
NameDescribe
oops_enterCalled when the architecture enters its oops handler, before it prints* anything. If this is the first CPU to oops, and it's oopsing the first* time then let it proceed.* This is all enabled by the pause_on_oops kernel boot option. We do all
oops_exitCalled when the architecture exits its oops handler, after printing* everything.