函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:"Dirty/Clean" indication is not 100% accurate due to the possibility of* setting PG_dirty outside page lock. See also comment above set_page_dirty().

函数原型:static void action_result(unsigned long pfn, enum mf_action_page_type type, enum mf_result result)

返回类型:void

参数:

类型参数名称
unsigned longpfn
enum mf_action_page_typetype
enum mf_resultresult
877  trace_memory_failure_event(pfn, type, result)
879  打印错误信息("Memory failure: %#lx: recovery action for %s: %s\n", pfn, action_page_types[type], action_name[result])
调用者
名称描述
page_action
memory_failure_hugetlb
memory_failure_dev_pagemap
memory_failurememory_failure - Handle memory failure of a page.*@pfn: Page Number of the corrupted page*@flags: fine tune action taken* This function is called by the low level machine check code* of an architecture when it detects hardware memory corruption* of a page