Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mmu_context.c Create Date:2022-07-28 14:24:59
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:se_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)

Proto:void unuse_mm(struct mm_struct *mm)

Type:void

Parameter:

TypeParameterName
struct mm_struct *mm
55  tsk = current process
57  Protects ->fs, ->files, ->mm, ->group_info, ->comm, keyring* subscriptions and synchronises with wait4(). Also used in procfs. Also* pins the final release of task.io_context. Also protects ->cpuset and* ->cgroup.subsys[]. And ->vfork_done.
58  sync_mm_rss(mm)
59  mm = NULL
61  enter_lazy_tlb(mm, tsk)
62  task_unlock(tsk)