函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:This page is about to be returned from the page allocator

函数原型:static inline int check_new_page(struct page *page)

返回类型:int

参数:

类型参数名称
struct page *page
2076  如果此条件成立可能性大(为编译器优化)(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.)则返回:0
2080  check_new_page_bad(page)
2081  返回:1
调用者
名称描述
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