函数逻辑报告 |
Source Code:mm\page_alloc.c |
Create Date:2022-07-27 16:37:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:d_next_best_node - find the next node that should appear in a given node's fallback list*@node: node whose fallback list we're appending*@used_node_mask: nodemask_t of already used nodes* We use a number of factors to determine which is the next node that
函数原型:static int find_next_best_node(int node, nodemask_t *used_node_mask)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
int | node | |
nodemask_t * | used_node_mask |
5518 | best_node等于NUMA_NO_NODE |
5523 | The inline keyword gives the compiler room to decide to inline, or* not inline a function as it sees best(node, * used_node_mask) |
5524 | 返回:node |
5527 | for_each_node_state(n, N_MEMORY) |
5530 | 如果No static inline type checking - see Subtlety (1) above. (n, * used_node_mask)则继续下一循环 |
5534 | val等于node_distance(node, n) |
5541 | 如果非pumask_empty - *srcp == 0*@srcp: the cpumask to that all cpus < nr_cpu_ids are clear.则val加等于PENALTY_FOR_NODE_WITH_CPUS |
5545 | val乘等于MAX_NODE_LOAD乘MAX_NUMNODES |
5554 | 如果best_node大于等于0则The inline keyword gives the compiler room to decide to inline, or* not inline a function as it sees best(best_node, * used_node_mask) |
5557 | 返回:best_node |
名称 | 描述 |
---|---|
build_zonelists | Build zonelists ordered by zone and nodes within zones.* This results in conserving DMA zone[s] until all Normal memory is* exhausted, but results in overflowing to remote node while memory* may still exist in local DMA zone. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |