函数逻辑报告

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

函数名称:Used for pages which are on another list

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

返回类型:void

参数:

类型参数名称
struct page *page
struct free_area *area
intmigratetype
135  链表项移动到头部
调用者
名称描述
move_freepagesMove the free pages in a range to the free lists of the requested type.* Note that start_page and end_pages are not aligned on a pageblock* boundary. If alignment is required, use move_freepages_block()
steal_suitable_fallbackThis function implements actual steal behaviour. If order is large enough,* we can steal whole pageblock. If not, we first move freepages in this* pageblock to our migratetype and determine how many already-allocated pages