函数逻辑报告 |
Source Code:include\linux\mempolicy.h |
Create Date:2022-07-27 06:53:12 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Check if a vma is migratable
函数原型:static inline bool vma_migratable(struct vm_area_struct *vma)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct vm_area_struct * | vma |
178 | 如果Flags, see mm.h. 按位与Memory mapped I/O or similar 按位或Page-ranges managed without "struct page", just pure PFN 的值则返回:false |
185 | 如果vma_is_dax(vma)则返回:false |
189 | 如果Flags, see mm.h. 按位与Huge TLB Page VM 则返回:false |
198 | 如果File we map to (can be NULL). 且gfp_zone(mapping_gfp_mask(f_mapping))小于policy_zone则返回:false |
202 | 返回:true |
名称 | 描述 |
---|---|
queue_pages_pmd | queue_pages_pmd() has four possible return values:* 0 - pages are placed on the right node or queued successfully |
queue_pages_pte_range | Scan through pages checking if pages follow certain conditions,* and move them to the pagelist if they do |
queue_pages_test_walk | |
add_page_for_migration | Resolves the given address to a struct page, isolates it from the LRU and* puts it to the given pagelist |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |