函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:With DEBUG_VM disabled, order-0 pages being freed are checked only when* moving from pcp lists to free list in order to reduce overhead. With* debug_pagealloc enabled, they are checked also immediately when being freed* to the pcp lists.

函数原型:static bool free_pcp_prepare(struct page *page)

返回类型:bool

参数:

类型参数名称
struct page *page
1217  如果For use in fast paths after init_debug_pagealloc() has run, or when a* false negative result is not harmful when called too early.则返回:free_pages_prepare(page, 0, true)
1219  否则返回:free_pages_prepare(page, 0, false)
调用者
名称描述
free_unref_page_prepare