函数逻辑报告

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

函数名称:free_area_empty

函数原型:static inline bool free_area_empty(struct free_area *area, int migratetype)

返回类型:bool

参数:

类型参数名称
struct free_area *area
intmigratetype
156  返回:链表为空
调用者
名称描述
find_suitable_fallbackCheck whether there is a suitable fallback freepage with requested order.* If only_stealable is true, this function returns fallback_mt only if* we can steal other freepages all together. This would help to reduce
__zone_watermark_okReturn true if free base pages are above 'mark'. For high-order checks it* will return true of the order-0 watermark is reached and there is at least* one free page of a suitable size. Checking now avoids taking the zone lock
show_free_areasShow free area list (used inside shift_scroll-lock stuff)* We also calculate the percentage fragmentation