Function report |
Source Code:mm\memcontrol.c |
Create Date:2022-07-28 16:13:15 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:We don't consider PMD mapped swapping or file mapped pages because THP does* not support them for now.* Caller should make sure that pmd_trans_huge(pmd) is true.
Proto:static enum mc_target_type get_mctgt_type_thp(struct vm_area_struct *vma, unsigned long addr, pmd_t pmd, union mc_target *target)
Type:enum mc_target_type
Parameter:
Type | Parameter | Name |
---|---|---|
struct vm_area_struct * | vma | |
unsigned long | addr | |
pmd_t | pmd | |
union mc_target * | target |
5451 | ret = MC_TARGET_NONE |
5454 | VM_BUG_ON(thp_migration_supported() && !is_pmd_migration_entry(pmd)) |
5456 | Return ret |
5458 | page = Currently stuck as a macro due to indirect forward reference to* linux/mmzone.h's __section_mem_map_addr() definition:(pmd) |
5459 | VM_BUG_ON_PAGE(!page || !PageHead(page), page) |
5460 | If Not (flags & Types of charges to be moved.) Then Return ret |
5462 | If mem_cgroup == from Then |
5469 | Return ret |
Name | Describe |
---|---|
mem_cgroup_count_precharge_pte_range | |
mem_cgroup_move_charge_pte_range |
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 |