Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:reset_page

Proto:static void reset_page(struct page *page)

Type:void

Parameter:

TypeParameterName
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
Caller
NameDescribe
__free_zspage