Function report |
Source Code:mm\memcontrol.c |
Create Date:2022-07-28 16:09:21 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get_mem_cgroup_from_page: Obtain a reference on given page's memcg.*@page: page from which memcg should be extracted.* Obtain a reference on page->memcg and returns it if successful. Otherwise* root_mem_cgroup is returned.
Proto:struct mem_cgroup *get_mem_cgroup_from_page(struct page *page)
Type:struct mem_cgroup
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page |
959 | memcg = mem_cgroup |
961 | If mem_cgroup_disabled() Then Return NULL |
965 | If Not memcg || Not ss_tryget_online - try to obtain a reference on the specified css if online*@css: target css* Obtain a reference on @css if it's online Then memcg = root_mem_cgroup |
968 | Return memcg |
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 |