Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\hugetlb.h Create Date:2022-07-28 05:55:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:huge_page_size

Proto:static inline unsigned long huge_page_size(struct hstate *h)

Type:unsigned long

Parameter:

TypeParameterName
struct hstate *h
499  Return PAGE_SIZE << order
Caller
NameDescribe
ksys_mmap_pgoff
hugetlb_entry_end
walk_hugetlb_range
size_to_hstate
__alloc_bootmem_huge_page
hugetlb_hstate_alloc_pages
report_hugepages
hugetlb_add_hstate
copy_hugetlb_page_range
__unmap_hugepage_range
unmap_ref_privateThis is called when the original mapper is failing to COW a MAP_PRIVATE* mappping it owns the reserve page for. The intention is to unmap the page* from other VMAs and let the children be SIGKILLed if they are faulting the* same region.
hugetlb_cowHugetlb_cow() should be called with page lock of the original hugepage held.* Called with hugetlb_instantiation_mutex held and pte_page locked so we* cannot race with other handlers or page migration.
hugetlb_fault
follow_hugetlb_page
hugetlb_change_protection
__hugetlb_cgroup_file_init
memory_failure_hugetlb
newsegwseg - Create a new shared memory segment*@ns: namespace*@params: ptr to the structure that contains key, size and shmflg* Called with shm_ids.rwsem held as a writer.