函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:A cached value of the page's pageblock's migratetype, used when the page is* put on a pcplist

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

返回类型:int

参数:

类型参数名称
struct page *page
198  返回: Our offset within mapping.
调用者
名称描述
free_pcppages_bulkFrees a number of pages from the PCP lists* Assumes all pages on list are in same zone, and of same order.* count is the number of pages to free.* If the zone was previously in an "all pages pinned" state then look to
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.
free_unref_page_commit
rmqueueAllocate a page from the given zone. Use pcplists for order-0 allocations.