Function report |
Source Code:mm\memcontrol.c |
Create Date:2022-07-28 16:10:55 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mem_cgroup_move_swap_account - move swap charge and swap_cgroup's record
Proto:static int mem_cgroup_move_swap_account(swp_entry_t entry, struct mem_cgroup *from, struct mem_cgroup *to)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
swp_entry_t | entry | |
struct mem_cgroup * | from | |
struct mem_cgroup * | to |
2969 | old_id = mem_cgroup_id(from) |
2970 | new_id = mem_cgroup_id(to) |
2972 | If swap_cgroup_cmpxchg(entry, old_id, new_id) == old_id Then |
2975 | Return 0 |
2977 | Return -EINVAL |
Name | Describe |
---|---|
mem_cgroup_move_charge_pte_range |
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 |