函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:prefetch_buddy

函数原型:static inline void prefetch_buddy(struct page *page)

返回类型:void

参数:

类型参数名称
struct page *page
1231  pfn等于page_to_pfn(page)
1232  buddy_pfn等于Locate the struct page for both the matching buddy in our* pair (buddy1) and the combined O(n+1) page they form (page)
1233  buddy等于pagebuddy_pfnpfn
1235  Prefetch instructions for Pentium III (+) and AMD Athlon (+)* It's not worth to care about 3dnow prefetches for the K6* because they are microcoded there and very slow.
调用者
名称描述
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