Function report |
Source Code:mm\memcontrol.c |
Create Date:2022-07-28 16:09:12 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__count_memcg_events - account VM events in a cgroup*@memcg: the memory cgroup*@idx: the event item*@count: the number of events that occured
Proto:void __count_memcg_events(struct mem_cgroup *memcg, enum vm_event_item idx, unsigned long count)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct mem_cgroup * | memcg | |
| enum vm_event_item | idx | |
| unsigned long | count |
| 791 | If mem_cgroup_disabled() Then Return |
| 794 | x = count + Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(events[idx]) |
| 807 | __this_cpu_write(events[idx], x) |
| Name | Describe |
|---|---|
| shrink_inactive_list | shrink_inactive_list() is a helper for shrink_node(). It returns the number* of reclaimed pages |
| shrink_active_list | |
| mem_cgroup_charge_statistics | |
| uncharge_batch | |
| count_memcg_events |
| 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 |