Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mem_cgroup_nr_lru_pages

Proto:static unsigned long mem_cgroup_nr_lru_pages(struct mem_cgroup *memcg, unsigned int lru_mask)

Type:unsigned long

Parameter:

TypeParameterName
struct mem_cgroup *memcg
unsigned intlru_mask
3636  nr = 0
3640  If Not (BIT(lru) & lru_mask) Then Continue
3642  nr += dx can be of type enum memcg_stat_item or node_stat_item.* Keep in sync with memcg_exact_page_state().
3644  Return nr
Caller
NameDescribe
memcg_numa_stat_show