函数逻辑报告 |
Source Code:mm\mempolicy.c |
Create Date:2022-07-27 17:04:35 |
| Last Modify:2020-03-17 22:28:11 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Move pages between the two nodesets so as to preserve the physical* layout as much as possible.* Returns the number of page that could not be moved.
函数原型:int do_migrate_pages(struct mm_struct *mm, const nodemask_t *from, const nodemask_t *to, int flags)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct mm_struct * | mm | |
| const nodemask_t * | from | |
| const nodemask_t * | to | |
| int | flags |
| 1077 | busy等于0 |
| 1085 | lock for reading |
| 1119 | 当非nodes_empty(tmp)循环 |
| 1121 | source等于NUMA_NO_NODE |
| 1122 | dest等于0 |
| 1141 | 如果nodes_weight( * from)不等于nodes_weight( * to)且No static inline type checking - see Subtlety (1) above. (s, * to)则继续下一循环 |
| 1145 | d等于node_remap(s, * from, * to) |
| 1156 | 如果source恒等于NUMA_NO_NODE则退出 |
| 1159 | node_clear(source, tmp) |
| 1160 | err等于Migrate pages from one node to a target node.* Returns error or the number of pages not migrated. |
| 1166 | lease a read lock |
| 1169 | 返回:busy |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |