函数逻辑报告 |
Source Code:include\linux\mmzone.h |
Create Date:2022-07-27 06:40:17 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Returns true if a zone has pages managed by the buddy allocator.* All the reclaim decisions have to use this function rather than* populated_zone(). If the whole zone is reserved then we can easily* end up with populated_zone() && !managed_zone().
函数原型:static inline bool managed_zone(struct zone *zone)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct zone * | zone |
887 | 返回:zone_managed_pages(zone) |
名称 | 描述 |
---|---|
lruvec_lru_size | lruvec_lru_size - Returns the number of pages on the given LRU list.*@lruvec: lru vector*@lru: lru to use*@zone_idx: zones to consider (use MAX_NR_ZONES for the whole LRU list) |
should_continue_reclaim | Reclaim/compaction is used for high-order allocation requests. It reclaims* order-0 pages before compacting the zone. should_continue_reclaim() returns* true if more pages should be reclaimed such that when the page allocator |
shrink_node | |
allow_direct_reclaim | |
pgdat_watermark_boosted | |
pgdat_balanced | Returns true if there is an eligible zone balanced for the request order* and classzone_idx |
kswapd_shrink_node | kswapd shrinks a node of pages that are at or below the highest usable* zone that is currently unbalanced.* Returns true if kswapd scanned at least the requested number of pages to* reclaim or if the lack of progress was due to pages under writeback. |
balance_pgdat | For kswapd, balance_pgdat() will reclaim pages across a node from zones* that are eligible for use by the caller until at least one zone is* balanced.* Returns the order kswapd finished reclaiming at. |
wakeup_kswapd | A zone is low on free memory or too fragmented for high-order memory |
build_zonerefs_node | Builds allocation fallback zone lists.* Add all populated zones of a node to the zonelist. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |