Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:free_unref_page_prepare

Proto:static bool free_unref_page_prepare(struct page *page, unsigned long pfn)

Type:bool

Parameter:

TypeParameterName
struct page *page
unsigned longpfn
3011  If Not 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. Then Return false
3014  migratetype = get_pfnblock_migratetype(page, pfn)
3015  set_pcppage_migratetype(page, migratetype)
3016  Return true
Caller
NameDescribe
free_unref_pageFree a 0-order page
free_unref_page_listFree a list of 0-order pages