Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\mm.h Create Date:2022-07-28 05:43:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:per-process(per-mm_struct) statistics.

Proto:static inline unsigned long get_mm_counter(struct mm_struct *mm, int member)

Type:unsigned long

Parameter:

TypeParameterName
struct mm_struct *mm
intmember
1618  val = atomic_long_read( & count[member])
1625  If val < 0 Then val = 0
1628  Return val
Caller
NameDescribe
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
oom_reap_task_mmReaps the address space of the give task.* Returns true on success and false if none or part of the address space* has been reclaimed and the caller should retry later.
__oom_kill_process