Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Collect the processes who have the corrupted page mapped to kill.

Proto:static void collect_procs(struct page *page, struct list_head *tokill, int force_early)

Type:void

Parameter:

TypeParameterName
struct page *page
struct list_head *tokill
intforce_early
507  If Not See page-flags.h for PAGE_MAPPING_FLAGS Then Return
510  If PageAnon(page) Then Collect processes when the error hit an anonymous page.
512  Else Collect processes when the error hit a file mapped page.
Caller
NameDescribe
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