Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:clear_huge_page

Proto:void clear_huge_page(struct page *page, unsigned long addr_hint, unsigned int pages_per_huge_page)

Type:void

Parameter:

TypeParameterName
struct page *page
unsigned longaddr_hint
unsigned intpages_per_huge_page
4698  addr = addr_hint & ~((pages_per_huge_page << PAGE_SHIFT determines the page size ) - 1)
4701  If Value for the false possibility is greater at compile time(pages_per_huge_page > MAX_ORDER_NR_PAGES) Then
4702  clear_gigantic_page(page, addr, pages_per_huge_page)
4703  Return
4706  Process all subpages of the specified huge page with the specified* operation. The target subpage will be processed last to keep its* cache lines hot.
Caller
NameDescribe
hugetlb_no_page
__do_huge_pmd_anonymous_page
do_huge_pmd_wp_page