Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\mmzone.h Create Date:2022-07-28 05:37:19
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:free_area_empty

Proto:static inline bool free_area_empty(struct free_area *area, int migratetype)

Type:bool

Parameter:

TypeParameterName
struct free_area *area
intmigratetype
156  Return list_empty - tests whether a list is empty*@head: the list to test.
Caller
NameDescribe
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