Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page_alloc.c Create Date:2022-07-28 15:04:01
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, 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.

Proto:static inline bool check_pcp_refill(struct page *page)

Type:bool

Parameter:

TypeParameterName
struct page *page
2116  Return This page is about to be returned from the page allocator
Caller
NameDescribe
rmqueue_bulkObtain a specified number of elements from the buddy allocator, all under* a single hold of the lock, for efficiency. Add them to the supplied list.* Returns the number of new pages which were placed at *list.