Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Turn a non-refcounted page (->_refcount == 0) into refcounted with* a count of one.

Proto:static inline void set_page_refcounted(struct page *page)

Type:void

Parameter:

TypeParameterName
struct page *page
72  VM_BUG_ON_PAGE(PageTail(page), page)
73  VM_BUG_ON_PAGE(page_ref_count(page), page)
74  set_page_count(page, 1)
Caller
NameDescribe
__free_pages_core
init_cma_reserved_pageblockFree whole pageblock and set its migration type to MIGRATE_CMA.
post_alloc_hook
split_pagesplit_page takes a non-compound higher-order page, and splits it into* n (1<
dequeue_huge_page_node_exact
update_and_free_page