Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:soft_limit_excess

Proto:static unsigned long soft_limit_excess(struct mem_cgroup *memcg)

Type:unsigned long

Parameter:

TypeParameterName
struct mem_cgroup *memcg
579  nr_pages = page_counter_read( & Accounted resources )
580  soft_limit = READ_ONCE(soft_limit)
581  excess = 0
583  If nr_pages > soft_limit Then excess = nr_pages - soft_limit
586  Return excess
Caller
NameDescribe
mem_cgroup_update_tree
__mem_cgroup_largest_soft_limit_node
mem_cgroup_soft_reclaim
mem_cgroup_soft_limit_reclaim