函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:soft_limit_excess

函数原型:static unsigned long soft_limit_excess(struct mem_cgroup *memcg)

返回类型:unsigned long

参数:

类型参数名称
struct mem_cgroup *memcg
579  nr_pages等于page_counter_read( & Accounted resources )
580  soft_limit等于READ_ONCE(soft_limit)
581  excess等于0
583  如果nr_pages大于soft_limitexcess等于nr_pagessoft_limit
586  返回:excess
调用者
名称描述
mem_cgroup_update_tree
__mem_cgroup_largest_soft_limit_node
mem_cgroup_soft_reclaim
mem_cgroup_soft_limit_reclaim