函数逻辑报告 |
Source Code:mm\page_alloc.c |
Create Date:2022-07-27 16:35:07 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Update NUMA hit/miss statistics* Must be called with interrupts disabled.
函数原型:static inline void zone_statistics(struct zone *preferred_zone, struct zone *z)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct zone * | preferred_zone | |
struct zone * | z |
3187 | 如果非static_branch_likely( & vm_numa_stat_key)则返回 |
3190 | 如果zone_to_nid(z)不等于Returns the number of the current Node. 则local_stat等于 allocation from other node |
3193 | 如果zone_to_nid(z)恒等于zone_to_nid(preferred_zone)则__inc_numa_state(z, allocated in intended node ) |
3195 | 否则 |
3199 | __inc_numa_state(z, local_stat) |
名称 | 描述 |
---|---|
rmqueue_pcplist | Lock and remove page from the per-cpu list |
rmqueue | Allocate a page from the given zone. Use pcplists for order-0 allocations. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |