Function report |
Source Code:mm\memcontrol.c |
Create Date:2022-07-28 16:13:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ancels all extra charges on mc.from and mc.to, and wakes up all waiters.
Proto:static void __mem_cgroup_clear_mc(void)
Type:void
Parameter:Nothing
5546 | If precharge Then |
5547 | cancel_charge(to, precharge) |
5548 | precharge = 0 |
5554 | If moved_charge Then |
5555 | cancel_charge(from, moved_charge) |
5556 | moved_charge = 0 |
5559 | If moved_swap Then |
5561 | If Not mem_cgroup_is_root(from) Then page_counter_uncharge - hierarchically uncharge pages*@counter: counter*@nr_pages: number of pages to uncharge |
5564 | mem_cgroup_id_put_many(from, moved_swap) |
5570 | If Not mem_cgroup_is_root(to) Then page_counter_uncharge - hierarchically uncharge pages*@counter: counter*@nr_pages: number of pages to uncharge |
5573 | mem_cgroup_id_get_many(to, moved_swap) |
5576 | moved_swap = 0 |
5578 | memcg_oom_recover(from) |
5579 | memcg_oom_recover(to) |
5580 | wake_up_all( & a waitq for other context ) |
Name | Describe |
---|---|
mem_cgroup_clear_mc | |
mem_cgroup_move_charge |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |