函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mempolicy.c Create Date:2022-07-27 17:03:58
Last Modify:2020-03-17 22:28:11 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Walk through page tables and collect pages to be migrated

函数原型: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)

返回类型:int

参数:

类型参数名称
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  如果非firsterr等于负EFAULT
707  返回:err
调用者
名称描述
migrate_to_nodeMigrate pages from one node to a target node.* Returns error or the number of pages not migrated.
do_mbind