Function report |
Source Code:include\linux\mempolicy.h |
Create Date:2022-07-28 05:53:49 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Check if a vma is migratable
Proto:static inline bool vma_migratable(struct vm_area_struct *vma)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct vm_area_struct * | vma |
| 178 | If Flags, see mm.h. & (Memory mapped I/O or similar | Page-ranges managed without "struct page", just pure PFN ) Then Return false |
| 185 | If vma_is_dax(vma) Then Return false |
| 189 | If Flags, see mm.h. & Huge TLB Page VM Then Return false |
| 198 | If File we map to (can be NULL). && gfp_zone(mapping_gfp_mask(f_mapping)) < policy_zone Then Return false |
| 202 | Return true |
| Name | Describe |
|---|---|
| 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 |
| 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 |