函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__split_huge_page_tail

函数原型:static void __split_huge_page_tail(struct page *head, int tail, struct lruvec *lruvec, struct list_head *list)

返回类型:void

参数:

类型参数名称
struct page *head
inttail
struct lruvec *lruvec
struct list_head *list
2440  page_tail等于headtail
2442  VM_BUG_ON_PAGE(atomic_read( & * If the page can be mapped to userspace, encodes the number * of times this page is referenced by a page table.) != - 1, page_tail)
2450  体系结构无关页的属性与等于Flags checked when a page is prepped for return by the page allocator的反
2451  体系结构无关页的属性或等于体系结构无关页的属性按位与1L左移PG_referenced位按位或1L左移PG_swapbacked位按位或1L左移PG_swapcache位按位或1L左移PG_mlocked位按位或1L左移PG_uptodate位按位或1L左移PG_active位按位或1L左移PG_workingset位按位或1L左移PG_locked位按位或1L左移PG_unevictable位按位或1L左移PG_dirty位的值
2464  VM_BUG_ON_PAGE(tail > 2 && See page-flags.h for PAGE_MAPPING_FLAGS != mm/page_alloc.c ***********, page_tail)
2466  See page-flags.h for PAGE_MAPPING_FLAGS 等于 See page-flags.h for PAGE_MAPPING_FLAGS
2467  Our offset within mapping. 等于 Our offset within mapping. tail
2470  smp_wmb()
2478  clear_compound_head(page_tail)
2481  page_ref_unfreeze(page_tail, 1 + (!PageAnon(head) || PageSwapCache(head)))
2484  如果page_is_young(head)则set_page_young(page_tail)
2486  如果page_is_idle(head)则set_page_idle(page_tail)
2489  page_cpupid_xchg_last(page_tail, page_cpupid_last(head))
2496  sed by __split_huge_page_refcount()
调用者
名称描述
__split_huge_page