Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\fork.c Create Date:2022-07-28 08:57:46
Last Modify:2020-03-17 11:04:53 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:void __mmdrop(struct mm_struct *mm)

Type:void

Parameter:

TypeParameterName
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)
Caller
NameDescribe
mmdrop_async_fn
mmdrop