Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:split_page takes a non-compound higher-order page, and splits it into* n (1<<order) sub-pages: page[0..n]* Each sub-page must be freed individually.* Note: this is probably too low level an operation for use in drivers.

Proto:void split_page(struct page *page, unsigned int order)

Type:void

Parameter:

TypeParameterName
struct page *page
unsigned intorder
3118  VM_BUG_ON_PAGE(PageCompound(page), page)
3119  VM_BUG_ON_PAGE(!page_count(page), page)
3121  When i < 1 << order cycle Turn a non-refcounted page (->_refcount == 0) into refcounted with* a count of one.
3123  split_page_owner(page, order)
Caller
NameDescribe
make_alloc_exact
split_map_pages