函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\fork.c Create Date:2022-07-27 09:57:15
Last Modify:2020-03-17 11:04:53 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Called when the last reference to the mm* is dropped: either by a lazy thread or by* mmput. Free the page directory and the mm.

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

返回类型:void

参数:

类型参数名称
struct mm_struct *mm
690  BUG_ON(mm == & init_mm)
691  WARN_ON_ONCE(mm == mm)
692  WARN_ON_ONCE(mm == active_mm)
693  mm_free_pgd(mm)
694  destroy_context(mm)
695  mmu_notifier_mm_destroy(mm)
696  check_mm(mm)
697  put_user_ns(user_ns)
698  free_mm(mm)
调用者
名称描述
mmdrop_async_fn
mmdrop