Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:This page is about to be returned from the page allocator

Proto:static inline int check_new_page(struct page *page)

Type:int

Parameter:

TypeParameterName
struct page *page
2076  If Value is more likely to compile time(A bad page could be due to a number of fields. Instead of multiple branches,* try and check multiple fields with one check. The caller must do a detailed* check if necessary.) Then Return 0
2080  check_new_page_bad(page)
2081  Return 1
Caller
NameDescribe
check_pcp_refillWith DEBUG_VM disabled, free order-0 pages are checked for expected state* when pcp lists are being refilled from the free lists. With debug_pagealloc* enabled, they are also checked when being allocated from the pcp lists.
check_new_pcp
check_new_pages