Function report |
Source Code:mm\memcontrol.c |
Create Date:2022-07-28 16:10:49 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cancel_charge
Proto:static void cancel_charge(struct mem_cgroup *memcg, unsigned int nr_pages)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct mem_cgroup * | memcg | |
| unsigned int | nr_pages |
| 2565 | If mem_cgroup_is_root(memcg) Then Return |
| 2569 | If Whether legacy memory+swap accounting is active Then page_counter_uncharge - hierarchically uncharge pages*@counter: counter*@nr_pages: number of pages to uncharge |
| Name | Describe |
|---|---|
| __mem_cgroup_clear_mc | ancels all extra charges on mc.from and mc.to, and wakes up all waiters. |
| mem_cgroup_cancel_charge | mem_cgroup_cancel_charge - cancel a page charge*@page: page to charge*@memcg: memcg to charge the page to*@compound: charge the page as compound or small page* Cancel a charge transaction started by mem_cgroup_try_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 |