函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:dec_mm_counter

函数原型:static inline void dec_mm_counter(struct mm_struct *mm, int member)

返回类型:void

参数:

类型参数名称
struct mm_struct *mm
intmember
1649  count等于atomic_long_dec_return( & count[member])
1651  mm_trace_rss_stat(mm, member, count)
调用者
名称描述
__replace_page__replace_page - replace page in vma by new page
try_to_unmap_one@arg: enum ttu_flags will be passed to this argument
unuse_pteNo need to decide whether this PTE shares the swap entry with others,* just let do_wp_page work it out if a write is requested later - to* force COW, vm_page_prot omits write permission from any private vma.
replace_pageplace_page - replace page in vma by new ksm page*@vma: vma that holds the pte pointing to page*@page: the page we are replacing by kpage*@kpage: the ksm page we replace page by*@orig_pte: the original value of the pte