Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\memcontrol.c Create Date:2022-07-28 16:13:38
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

Proto:static void mem_cgroup_move_charge(void)

Type:void

Parameter:Nothing

5796  lru_add_drain_all()
5802  atomic_inc( & * set > 0 if pages under this cgroup are moving to other cgroup.)
5803  Wait for a grace period to elapse. But it is illegal to invoke* synchronize_rcu() from within an RCU read-side critical section.* Therefore, any legal call to synchronize_rcu() is a quiescent
5804  retry :
5805  If Value for the false possibility is greater at compile time(!rylock for reading -- returns 1 if successful, 0 if contention) Then
5813  ancels all extra charges on mc.from and mc.to, and wakes up all waiters.
5814  cond_resched()
5815  Go to retry
5821  walk_page_range - walk page table with caller specific callbacks*@mm: mm_struct representing the target process of page table walk*@start: start address of the virtual address range*@end: end address of the virtual address range*@ops: operation to call
5824  lease a read lock
5825  atomic_dec( & * set > 0 if pages under this cgroup are moving to other cgroup.)
Caller
NameDescribe
mem_cgroup_move_task