Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Put bootmem huge pages into the standard lists after mem_map is up

Proto:static void __init gather_bootmem_prealloc(void)

Type:void

Parameter:Nothing

2147  page = virt_to_page(kaddr) returns a valid pointer if and only if* virt_addr_valid(kaddr) returns true.(m)
2148  h = hstate
2150  WARN_ON(page_count(page) != 1)
2151  prep_compound_huge_page(page, order)
2152  WARN_ON(PageReserved(page))
2153  prep_new_huge_page(h, page, page_to_nid(page))
2154  Perform a free_page(), also freeing any swap cache associated with* this page if it is the last user of the page.
2162  If hstate_is_gigantic(h) Then adjust_managed_page_count(page, 1 << order)
2164  cond_resched()
Caller
NameDescribe
hugetlb_init