函数逻辑报告 |
Source Code:include\linux\vmstat.h |
Create Date:2022-07-27 06:44:45 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:static inline unsigned long zone_page_state_snapshot(struct zone *zone, enum zone_stat_item item)
返回类型:unsigned long
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct zone * | zone | |
| enum zone_stat_item | item |
| 223 | x等于atomic_long_read( & 内存域的统计信息[item]) |
| 233 | 返回:x |
| 名称 | 描述 |
|---|---|
| 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 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |