Function report |
Source Code:mm\mempolicy.c |
Create Date:2022-07-28 15:31:14 |
Last Modify:2020-03-17 22:28:11 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:queue_pages_test_walk
Proto:static int queue_pages_test_walk(unsigned long start, unsigned long end, struct mm_walk *walk)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | start | |
unsigned long | end | |
struct mm_walk * | walk |
624 | VM_BUG_ON((Our start address within vm_mm. > start) || (The first byte after our end addresswithin vm_mm. < end)) |
626 | If Not first Then |
628 | If Not (flags & Skip checks for continuous vmas ) && start < Our start address within vm_mm. Then Return -EFAULT |
633 | If Not (flags & Skip checks for continuous vmas ) && The first byte after our end addresswithin vm_mm. < end && ( Not linked list of VM areas per task, sorted by address || The first byte after our end addresswithin vm_mm. < Our start address within vm_mm. ) Then Return -EFAULT |
643 | If Not Check if a vma is migratable && Not (flags & Verify existing pages in the mapping ) Then Return 1 |
650 | If flags & Modifies '_MOVE: lazy migrate on fault Then |
652 | If Not is_vm_hugetlb_page(vma) && Flags, see mm.h. & ( currently active flags | VM_EXEC | VM_WRITE) && Not (Flags, see mm.h. & Can contain "struct page" and pure PFN pages ) Then change_prot_numa(vma, start, endvma) |
656 | Return 1 |
660 | If flags & MPOL_MF_VALID Then Return 0 |
662 | Return 1 |
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 |