Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mempolicy.c Create Date:2022-07-28 15:31:16
Last Modify:2020-03-17 22:28:11 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Walk through page tables and collect pages to be migrated

Proto:static int queue_pages_range(struct mm_struct *mm, unsigned long start, unsigned long end, nodemask_t *nodes, unsigned long flags, struct list_head *pagelist)

Type:int

Parameter:

TypeParameterName
struct mm_struct *mm
unsigned longstart
unsigned longend
nodemask_t *nodes
unsigned longflags
struct list_head *pagelist
692  struct queue_pages qp = {pagelist = pagelist, flags = flags, nmask = nodes, start = start, end = end, first = NULL, }
701  err = walk_page_range - walk page table with caller specific callbacks*@mm: mm_struct representing the target process of page table walk*@start: start address of the virtual address range*@end: end address of the virtual address range*@ops: operation to call
703  If Not first Then err = -EFAULT
707  Return err
Caller
NameDescribe
migrate_to_nodeMigrate pages from one node to a target node.* Returns error or the number of pages not migrated.
do_mbind