Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\dumpstack.c Create Date:2022-07-28 07:34:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:This is gone through when something in the kernel has done something bad* and is about to be terminated:

Proto:void die(const char *str, struct pt_regs *regs, long err)

Type:void

Parameter:

TypeParameterName
const char *str
struct pt_regs *regs
longerr
405  flags = oops_begin()
406  sig = SIGSEGV
408  If __die(str, regs, err) Then sig = 0
410  oops_end(flags, regs, sig)
Caller
NameDescribe
go_to_protected_modeActual invocation sequence
do_double_faultRuns on an IST stack for x86_64 and on a special task stack for x86_32.* On x86_64, this is more or less a normal kernel entry. Notwithstanding the* SDM's warnings about double faults being unrecoverable, returning works as* expected
do_bounds
do_general_protection
math_errorNote that we play around with the 'TS' bit in an attempt to get* the correct behaviour even in the presence of the asynchronous* IRQ13 behaviour
do_device_not_available