Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mem_cgroup_clear_mc

Proto:static void mem_cgroup_clear_mc(void)

Type:void

Parameter:Nothing

5585  mm = mm
5591  a task moving charges = NULL
5592  ancels all extra charges on mc.from and mc.to, and wakes up all waiters.
5593  spin_lock( & r from, to )
5594  from = NULL
5595  to = NULL
5596  mm = NULL
5597  spin_unlock( & r from, to )
5599  Decrement the use count and release all resources for an mm.
Caller
NameDescribe
mem_cgroup_can_attach
mem_cgroup_cancel_attach
mem_cgroup_move_task