Function report |
Source Code:include\linux\mmzone.h |
Create Date:2022-07-28 05:37:27 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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().
Proto:static inline bool managed_zone(struct zone *zone)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct zone * | zone |
| 887 | Return zone_managed_pages(zone) |
| Name | Describe |
|---|---|
| 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. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |