Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:prefetch_buddy

Proto:static inline void prefetch_buddy(struct page *page)

Type:void

Parameter:

TypeParameterName
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 = page + buddy_pfn - pfn
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.
Caller
NameDescribe
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