函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:hwpoison_filter_task

函数原型:static int hwpoison_filter_task(struct page *p)

返回类型:int

参数:

类型参数名称
struct page *p
138  如果非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则返回:0
141  如果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则返回:负EINVAL
144  返回:0
调用者
名称描述
hwpoison_filter