Function report |
Source Code:mm\migrate.c |
Create Date:2022-07-28 15:58:18 |
Last Modify:2022-05-20 09:53:13 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:void __migration_entry_wait(struct mm_struct *mm, pte_t *ptep, spinlock_t *ptl)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct mm_struct * | mm | |
pte_t * | ptep | |
spinlock_t * | ptl |
316 | If Not heck whether a pte points to a swap entry Then Go to out |
319 | entry = Convert the arch-dependent pte representation of a swp_entry_t into an* arch-independent swp_entry_t. |
320 | If Not is_migration_entry(entry) Then Go to out |
323 | page = migration_entry_to_page(entry) |
332 | pte_unmap_unlock(ptep, ptl) |
334 | Return |
335 | out : |
336 | pte_unmap_unlock(ptep, ptl) |
Name | Describe |
---|---|
migration_entry_wait | |
migration_entry_wait_huge | |
follow_huge_pmd |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |