Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:free_zspage

Proto:static void free_zspage(struct zs_pool *pool, struct size_class *class, struct zspage *zspage)

Type:void

Parameter:

TypeParameterName
struct zs_pool *pool
struct size_class *class
struct zspage *zspage
970  VM_BUG_ON(Protected by class->lock )
971  VM_BUG_ON(list_empty - tests whether a list is empty*@head: the list to test.)
973  If Not trylock_zspage(zspage) Then
974  kick_deferred_free(pool)
975  Return
978  This function removes the given zspage from the freelist identified* by .
979  __free_zspage(pool, class, zspage)
Caller
NameDescribe
zs_free
__zs_compact