函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:reset_page

函数原型:static void reset_page(struct page *page)

返回类型:void

参数:

类型参数名称
struct page *page
906  __ClearPageMovable(page)
907  Private page markings that may be used by the filesystem that owns the page* for its own purposes.* - PG_private and PG_private_2 cause releasepage() and co to be invoked
908  set_page_private(page, 0)
909  The atomic page->_mapcount, starts from -1: so that transitions* both from it and to it can be tracked, using atomic_inc_and_test* and atomic_add_negative(-1).
910  ClearPageHugeObject(page)
911  first free object = NULL
调用者
名称描述
__free_zspage