Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:hwpoison_filter_task

Proto:static int hwpoison_filter_task(struct page *p)

Type:int

Parameter:

TypeParameterName
struct page *p
138  If Not This allows stress tests to limit test scope to a collection of tasks* by putting them under some memcg. This prevents killing unrelated/important* processes such as /sbin/init. Note that the target task may share clean* pages with init (eg Then Return 0
141  If page_cgroup_ino - return inode number of the memcg a page is charged to*@page: the page* Look up the closest online ancestor of the memory cgroup @page is charged to* and return its inode number or 0 if @page is not charged to any cgroup. It != This allows stress tests to limit test scope to a collection of tasks* by putting them under some memcg. This prevents killing unrelated/important* processes such as /sbin/init. Note that the target task may share clean* pages with init (eg Then Return -EINVAL
144  Return 0
Caller
NameDescribe
hwpoison_filter