函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sync_mm_rss

函数原型:void sync_mm_rss(struct mm_struct *mm)

返回类型:void

参数:

类型参数名称
struct mm_struct *mm
168 i小于NR_MM_COUNTERS循环
169  如果count[i]则
170  add_mm_counter(mm, i, count[i])
171  count[i]等于0
174  events等于0
调用者
名称描述
do_exit
check_sync_rss_stat
add_mm_rss_vec
madvise_free_pte_range
exit_mmTurn us into a lazy TLB process if we* aren't already..
unuse_mmse_mm* Reverses the effect of use_mm, i.e. releases the* specified mm context which was earlier taken on* by the calling kernel thread* (Note: this routine is intended to be called only* from a kernel thread context)
exec_mmap