Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\memory.c Create Date:2022-07-28 14:43:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:numa_migrate_prep

Proto:static int numa_migrate_prep(struct page *page, struct vm_area_struct *vma, unsigned long addr, int page_nid, int *flags)

Type:int

Parameter:

TypeParameterName
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  If page_nid == Returns the number of the current Node. Then
3807  count_vm_numa_event(NUMA_HINT_FAULTS_LOCAL)
3808  flags |= TNF_FAULT_LOCAL
3811  Return mpol_misplaced(page, vma, addr)
Caller
NameDescribe
do_numa_page