Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:zs_compact

Proto:unsigned long zs_compact(struct zs_pool *pool)

Type:unsigned long

Parameter:

TypeParameterName
struct zs_pool *pool
2317  When i >= 0 cycle
2318  class = size_class[i]
2319  If Not class Then Continue
2321  If index != i Then Continue
2323  __zs_compact(pool, class)
2326  Return How many pages were migrated (freed)
Caller
NameDescribe
zs_shrinker_scan