函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:free_unref_page_prepare

函数原型:static bool free_unref_page_prepare(struct page *page, unsigned long pfn)

返回类型:bool

参数:

类型参数名称
struct page *page
unsigned longpfn
3011  如果非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.则返回:false
3014  migratetype等于get_pfnblock_migratetype(page, pfn)
3015  set_pcppage_migratetype(page, migratetype)
3016  返回:true
调用者
名称描述
free_unref_pageFree a 0-order page
free_unref_page_listFree a list of 0-order pages