函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\memory.c Create Date:2022-07-27 16:11:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:clear_huge_page

函数原型:void clear_huge_page(struct page *page, unsigned long addr_hint, unsigned int pages_per_huge_page)

返回类型:void

参数:

类型参数名称
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  如果此条件成立可能性小(为编译器优化)(pages_per_huge_page > MAX_ORDER_NR_PAGES)则
4702  clear_gigantic_page(page, addr, pages_per_huge_page)
4703  返回
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.
调用者
名称描述
hugetlb_no_page
__do_huge_pmd_anonymous_page
do_huge_pmd_wp_page