Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\memory.c Create Date:2022-07-28 14:44:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:copy_user_gigantic_page

Proto:static void copy_user_gigantic_page(struct page *dst, struct page *src, unsigned long addr, struct vm_area_struct *vma, unsigned int pages_per_huge_page)

Type:void

Parameter:

TypeParameterName
struct page *dst
struct page *src
unsigned longaddr
struct vm_area_struct *vma
unsigned intpages_per_huge_page
4715  dst_base = dst
4716  src_base = src
4718  When i < pages_per_huge_page cycle
4719  cond_resched()
4720  copy_user_highpage(dst, src, addr + i * PAGE_SIZE, vma)
4722  i++
4723  dst = Iterator over all subpages within the maximally aligned gigantic* page 'base'. Handle any discontiguity in the mem_map.
4724  src = Iterator over all subpages within the maximally aligned gigantic* page 'base'. Handle any discontiguity in the mem_map.
Caller
NameDescribe
copy_user_huge_page