函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\memory.c Create Date:2022-07-27 16:10:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:numa_migrate_prep

函数原型:static int numa_migrate_prep(struct page *page, struct vm_area_struct *vma, unsigned long addr, int page_nid, int *flags)

返回类型:int

参数:

类型参数名称
struct page *page
struct vm_area_struct *vma
unsigned longaddr
intpage_nid
int *flags
3803  get_page(page)
3805  count_vm_numa_event(NUMA_HINT_FAULTS)
3806  如果page_nid恒等于Returns the number of the current Node.
3807  count_vm_numa_event(NUMA_HINT_FAULTS_LOCAL)
3808  flags或等于TNF_FAULT_LOCAL
3811  返回:mpol_misplaced(page, vma, addr)
调用者
名称描述
do_numa_page