函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Gigantic pages are so large that we do not guarantee that page++ pointer* arithmetic will work across the entire page. We need something more* specialized.

函数原型:static void __copy_gigantic_page(struct page *dst, struct page *src, int nr_pages)

返回类型:void

参数:

类型参数名称
struct page *dst
struct page *src
intnr_pages
552  dst_base等于dst
553  src_base等于src
555 i小于nr_pages循环
556  cond_resched()
557  copy_highpage(dst, src)
559  i自加
560  dst等于Iterator over all subpages within the maximally aligned gigantic* page 'base'. Handle any discontiguity in the mem_map.
561  src等于Iterator over all subpages within the maximally aligned gigantic* page 'base'. Handle any discontiguity in the mem_map.
调用者
名称描述
copy_huge_page