函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\migrate.c Create Date:2022-07-27 17:33:29
Last Modify:2022-05-20 09:53:13 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:do_move_pages_to_node

函数原型:static int do_move_pages_to_node(struct mm_struct *mm, struct list_head *pagelist, int node)

返回类型:int

参数:

类型参数名称
struct mm_struct *mm
struct list_head *pagelist
intnode
1502  如果链表为空则返回:0
1505  err等于migrate_pages - migrate the pages specified in a list, to the free pages* supplied as the target for the page migration*@from: The list of pages to be migrated.*@get_new_page: The function used to allocate free pages to be used
1507  如果errPut previously isolated pages back onto the appropriate lists* from where they were once taken off for compaction/migration.* This function shall be used whenever the isolated pageset has been* built from lru, balloon, hugetlbfs page
1509  返回:err
调用者
名称描述
do_pages_moveMigrate an array of page address onto an array of nodes and fill* the corresponding array of status.