Function report |
Source Code:mm\memcontrol.c |
Create Date:2022-07-28 16:08:35 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Some nice accessors for the vmpressure.
Proto:struct vmpressure *memcg_to_vmpressure(struct mem_cgroup *memcg)
Type:struct vmpressure
Parameter:
Type | Parameter | Name |
---|---|---|
struct mem_cgroup * | memcg |
249 | If Not memcg Then memcg = root_mem_cgroup |
251 | Return vmpressure notifications |
Name | Describe |
---|---|
vmpressure_parent | |
vmpressure | vmpressure() - Account memory pressure through scanned/reclaimed ratio*@gfp: reclaimer's gfp mask*@memcg: cgroup memory controller handle*@tree: legacy subtree mode*@scanned: number of pages scanned*@reclaimed: number of pages reclaimed* This function |
vmpressure_register_event | vmpressure_register_event() - Bind vmpressure notifications to an eventfd*@memcg: memcg that is interested in vmpressure notifications*@eventfd: eventfd context to link notifications with*@args: event arguments (pressure level threshold, optional mode)* |
vmpressure_unregister_event | vmpressure_unregister_event() - Unbind eventfd from vmpressure*@memcg: memcg handle*@eventfd: eventfd context that was used to link vmpressure with the @cg* This function does internal manipulations to detach the @eventfd from* the vmpressure |
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 |