Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:memcg_accumulate_slabinfo

Proto:static void memcg_accumulate_slabinfo(struct kmem_cache *s, struct slabinfo *info)

Type:void

Parameter:

TypeParameterName
struct kmem_cache *s
struct slabinfo *info
1444  If Not is_root_cache(s) Then Return
1448  memset( & sinfo, 0, size of sinfo )
1449  get_slabinfo(c, & sinfo)
1451  active_slabs += active_slabs
1452  num_slabs += num_slabs
1453  shared_avail += shared_avail
1454  active_objs += active_objs
1455  num_objs += num_objs
Caller
NameDescribe
cache_show