Function report |
Source Code:include\linux\vmstat.h |
Create Date:2022-07-28 05:43:34 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:More accurate version that also considers the currently pending* deltas. For that we need to loop over all cpus to find the current* deltas. There is no synchronization so the result cannot be* exactly accurate either.
Proto:static inline unsigned long zone_page_state_snapshot(struct zone *zone, enum zone_stat_item item)
Type:unsigned long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct zone * | zone | |
| enum zone_stat_item | item |
| 223 | x = atomic_long_read( & vm_stat[item]) |
| 233 | Return x |
| Name | Describe |
|---|---|
| zone_reclaimable_pages | This misses isolated pages which are not accounted for to save counters.* As the data only determines if reclaim or compaction continues, it is* not expected that isolated pages will be a dominating factor. |
| zone_watermark_ok_safe | |
| should_reclaim_retry | Checks whether it makes sense to retry the reclaim to make a forward progress* for the given allocation request.* We give up when we either have tried MAX_RECLAIM_RETRIES in a row* without success, or when we couldn't even meet the watermark if we |
| 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 |