Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\memory-failure.c Create Date:2022-07-28 16:18:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Find a dedicated thread which is supposed to handle SIGBUS(BUS_MCEERR_AO)* on behalf of the thread group

Proto:static struct task_struct *find_early_kill_thread(struct task_struct *tsk)

Type:struct task_struct

Parameter:

TypeParameterName
struct task_struct *tsk
402  for_each_thread(tsk, t)
403  If Per task flags (PF_*), defined further below: & Process policy on mce errors && Per task flags (PF_*), defined further below: & Early kill for mce process policy Then Return t
405  Return NULL
Caller
NameDescribe
task_early_killDetermine whether a given process is "early kill" process which expects* to be signaled when some page under the process is hwpoisoned.* Return task_struct of the dedicated thread (main thread unless explicitly