函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:For use in fast paths after init_debug_pagealloc() has run, or when a* false negative result is not harmful when called too early.

函数原型:static inline bool debug_pagealloc_enabled_static(void)

返回类型:bool

参数:

2681  如果非IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_DEBUG_PAGEALLOC)则返回:false
2684  返回:static_branch_unlikely( & _debug_pagealloc_enabled)
调用者
名称描述
free_unmap_vmap_areaFree and unmap a vmap area
vb_free
free_pages_prepare
free_pcp_prepareWith 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.
check_new_pcp
post_alloc_hook
get_freepointer_safe