Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mem_cgroup_move_charge_write

Proto:static int mem_cgroup_move_charge_write(struct cgroup_subsys_state *css, struct cftype *cft, u64 val)

Type:int

Parameter:

TypeParameterName
struct cgroup_subsys_state *css
struct cftype *cft
u64val
3588  memcg = mem_cgroup_from_css(css)
3590  If val & ~MOVE_MASK Then Return -EINVAL
3599  * Should we move charges of a task when a task is moved into this * mem_cgroup ? And what type of charges should we move ? = val
3600  Return 0