Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:zswap_is_full

Proto:static bool zswap_is_full(void)

Type:bool

Parameter:Nothing

213  Return totalram_pages() * The maximum percentage of memory that the compressed pool can occupy / 100 < DIV_ROUND_UP(Total bytes used by the compressed storage , PAGE_SIZE)
Caller
NameDescribe
zswap_frontswap_storeattempts to compress and store an single page