函数逻辑报告 | 
Source Code:mm\migrate.c | 
Create Date:2022-07-27 17:32:24 | 
| Last Modify:2022-05-20 09:53:13 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Something used the pte of a page under migration. We need to* get to the page and wait until migration is finished.* When we return from this function the fault will be retried.
函数原型:void __migration_entry_wait(struct mm_struct *mm, pte_t *ptep, spinlock_t *ptl)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct mm_struct * | mm | |
| pte_t * | ptep | |
| spinlock_t * | ptl | 
| 314 | 加自旋锁 | 
| 316 | 如果非heck whether a pte points to a swap entry 则转到:out | 
| 319 | entry等于Convert the arch-dependent pte representation of a swp_entry_t into an* arch-independent swp_entry_t. | 
| 320 | 如果非is_migration_entry(entry)则转到:out | 
| 323 | page等于migration_entry_to_page(entry) | 
| 330 | 如果非Try to grab a ref unless the page has a refcount of zero, return false if* that is the case.* This can be called when MMU is off so it must not access* any of the virtual mappings.则转到:out | 
| 332 | pte_unmap_unlock(ptep, ptl) | 
| 334 | 返回 | 
| 335 | out : | 
| 336 | pte_unmap_unlock(ptep, ptl) | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |