ANDROID: GKI: export symbol memcg_page_state
we need this function to help to implement proactive reclaim based on memcg. Bug: 370264832 Change-Id: Iae359dc667d3609b91c221743479e92287f22c1a Signed-off-by: liwei <liwei1234@oppo.com> Signed-off-by: wengle <wengle@oppo.com>
This commit is contained in:
@@ -663,6 +663,13 @@ unsigned long memcg_page_state(struct mem_cgroup *memcg, int idx)
|
||||
#endif
|
||||
return x;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(memcg_page_state);
|
||||
|
||||
/* For type visibility of memcg_page_state indices */
|
||||
const enum node_stat_item ANDROID_GKI_node_stat_item;
|
||||
EXPORT_SYMBOL_GPL(ANDROID_GKI_node_stat_item);
|
||||
const enum memcg_stat_item ANDROID_GKI_memcg_stat_item;
|
||||
EXPORT_SYMBOL_GPL(ANDROID_GKI_memcg_stat_item);
|
||||
|
||||
static int memcg_page_state_unit(int item);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user