函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\mm.h Create Date:2022-07-27 06:44:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:get_mm_rss

函数原型:static inline unsigned long get_mm_rss(struct mm_struct *mm)

返回类型:unsigned long

参数:

类型参数名称
struct mm_struct *mm
1671  返回:per-process(per-mm_struct) statistics.per-process(per-mm_struct) statistics.per-process(per-mm_struct) statistics.
调用者
名称描述
dup_mmdup_mm() - duplicates an existing mm structure*@tsk: the task_struct with which the new mm will be associated.*@oldmm: the mm to duplicate.* Allocates a new mm structure and duplicates the provided @oldmm structure* content into it.
oom_badnessm_badness - heuristic function to determine which candidate task to kill*@p: task struct of which task we should calculate*@totalpages: total present RAM allowed for page allocation* The heuristic for determining which task to kill is made to be as simple
dump_task
get_mm_hiwater_rss
update_hiwater_rss
reset_mm_hiwater_rss