Function report |
Source Code:mm\memcontrol.c |
Create Date:2022-07-28 16:08:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:soft_limit_excess
Proto:static unsigned long soft_limit_excess(struct mem_cgroup *memcg)
Type:unsigned long
Parameter:
Type | Parameter | Name |
---|---|---|
struct mem_cgroup * | memcg |
579 | nr_pages = page_counter_read( & Accounted resources ) |
580 | soft_limit = READ_ONCE(soft_limit) |
581 | excess = 0 |
583 | If nr_pages > soft_limit Then excess = nr_pages - soft_limit |
586 | Return excess |
Name | Describe |
---|---|
mem_cgroup_update_tree | |
__mem_cgroup_largest_soft_limit_node | |
mem_cgroup_soft_reclaim | |
mem_cgroup_soft_limit_reclaim |
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 |