函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\memory-failure.c Create Date:2022-07-27 17:53:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

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

函数原型:static struct task_struct *find_early_kill_thread(struct task_struct *tsk)

返回类型:struct task_struct

参数:

类型参数名称
struct task_struct *tsk
402  for_each_thread(tsk, t)
403  如果任务标志按位与Process policy on mce errors 任务标志按位与Early kill for mce process policy 则返回:t
405  返回:NULL
调用者
名称描述
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