Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\migrate.c Create Date:2022-07-28 15:58:33
Last Modify:2022-05-20 09:53:13 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:static void __copy_gigantic_page(struct page *dst, struct page *src, int nr_pages)

Type:void

Parameter:

TypeParameterName
struct page *dst
struct page *src
intnr_pages
552  dst_base = dst
553  src_base = src
555  When i < nr_pages cycle
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.
Caller
NameDescribe
copy_huge_page