Function report |
Source Code:include\linux\memcontrol.h |
Create Date:2022-07-28 05:57:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:memcg_memory_event
Proto:static inline void memcg_memory_event(struct mem_cgroup *memcg, enum memcg_memory_event event)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct mem_cgroup * | memcg | |
enum memcg_memory_event | event |
778 | atomic_long_inc( & memory_events_local[event]) |
781 | Do |
782 | atomic_long_inc( & memory.events [event]) |
785 | If Hierarchy-specific flags & CGRP_ROOT_MEMORY_LOCAL_EVENTS Then Break |
Name | Describe |
---|---|
shrink_node_memcgs | |
mem_cgroup_oom | |
reclaim_high | |
try_charge | |
memory_max_write | |
mem_cgroup_try_charge_swap | mem_cgroup_try_charge_swap - try charging swap space for a page*@page: page being added to swap*@entry: swap entry to charge* Try to charge @page's memcg for the swap space at @entry.* Returns 0 on success, -ENOMEM on failure. |
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 |