Function report |
Source Code:mm\memcontrol.c |
Create Date:2022-07-28 16:08:59 |
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_update_tree
Proto:static void mem_cgroup_update_tree(struct mem_cgroup *memcg, struct page *page)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct mem_cgroup * | memcg | |
struct page * | page |
595 | mctz = soft_limit_tree_from_page(page) |
596 | If Not mctz Then Return |
603 | mz = mem_cgroup_page_nodeinfo(memcg, page) |
604 | excess = soft_limit_excess(memcg) |
609 | If excess || he soft limit is exceeded Then |
612 | spin_lock_irqsave( & lock, flags) |
614 | If he soft limit is exceeded Then __mem_cgroup_remove_exceeded(mz, mctz) |
620 | __mem_cgroup_insert_exceeded(mz, mctz, excess) |
621 | spin_unlock_irqrestore( & lock, flags) |
Name | Describe |
---|---|
memcg_check_events | Check events in order. |
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 |