函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:free_one_page

函数原型:static void free_one_page(struct zone *zone, struct page *page, unsigned long pfn, unsigned int order, int migratetype)

返回类型:void

参数:

类型参数名称
struct zone *zone
struct page *page
unsigned longpfn
unsigned intorder
intmigratetype
1331  加自旋锁
1332  如果此条件成立可能性小(为编译器优化)(has_isolate_pageblock(zone) || is_migrate_isolate(migratetype))则
1334  migratetype等于get_pfnblock_migratetype(page, pfn)
1336  Freeing function for a buddy system allocator
1337  自旋锁解锁
调用者
名称描述
__free_pages_ok
free_unref_page_commit