Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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.

Proto:static bool free_pcp_prepare(struct page *page)

Type:bool

Parameter:

TypeParameterName
struct page *page
1217  If For use in fast paths after init_debug_pagealloc() has run, or when a* false negative result is not harmful when called too early. Then Return free_pages_prepare(page, 0, true)
1219  Else Return free_pages_prepare(page, 0, false)
Caller
NameDescribe
free_unref_page_prepare