Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Handlers for move charge at task migration.

Proto:static int mem_cgroup_do_precharge(unsigned long count)

Type:int

Parameter:

TypeParameterName
unsigned longcount
5145  ret = try_charge(to, GFP_KERNEL & ~Caller can reclaim , count)
5146  If Not ret Then
5147  precharge += count
5148  Return ret
5152  When count-- cycle
5153  ret = try_charge(to, GFP_KERNEL | __GFP_NORETRY, 1)
5154  If ret Then Return ret
5156  precharge++
5157  cond_resched()
5159  Return 0
Caller
NameDescribe
mem_cgroup_precharge_mc
mem_cgroup_move_charge_pte_range