函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\zsmalloc.c Create Date:2022-07-27 18:02:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:free_zspage

函数原型:static void free_zspage(struct zs_pool *pool, struct size_class *class, struct zspage *zspage)

返回类型:void

参数:

类型参数名称
struct zs_pool *pool
struct size_class *class
struct zspage *zspage
970  VM_BUG_ON(Protected by class->lock )
971  VM_BUG_ON(链表为空)
973  如果非trylock_zspage(zspage)则
974  kick_deferred_free(pool)
975  返回
978  This function removes the given zspage from the freelist identified* by .
979  __free_zspage(pool, class, zspage)
调用者
名称描述
zs_free
__zs_compact