函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:del_page_from_free_area

函数原型:static inline void del_page_from_free_area(struct page *page, struct free_area *area)

返回类型:void

参数:

类型参数名称
struct page *page
struct free_area *area
148  删除链表项
149  PageBuddy() indicates that the page is free and in the buddy system* (see mm/page_alloc.c).
150  set_page_private(page, 0)
151  nr_free自减
调用者
名称描述
__free_one_pageFreeing function for a buddy system allocator
__rmqueue_smallestGo through the free lists for the given migratetype and remove* the smallest available page from the freelists
__isolate_free_page