函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Collect the processes who have the corrupted page mapped to kill.

函数原型:static void collect_procs(struct page *page, struct list_head *tokill, int force_early)

返回类型:void

参数:

类型参数名称
struct page *page
struct list_head *tokill
intforce_early
507  如果非 See page-flags.h for PAGE_MAPPING_FLAGS 则返回
510  如果PageAnon(page)则Collect processes when the error hit an anonymous page.
512  否则Collect processes when the error hit a file mapped page.
调用者
名称描述
hwpoison_user_mappingsDo all that is necessary to remove user space mappings. Unmap* the pages and send SIGBUS to the processes if the data was dirty.
memory_failure_dev_pagemap