ANDROID: vendor_hooks: restore field in mem_cgroup
Restore field from single OEM_DATA to OEM_DATA_ARRAY to record additional per-cgroup information for memory policy tuning. Bug: 413233151 See also: Bug: 192052083 Bug: 330272526 Change-Id: Ibdeabd739af15b4dba93524573a4a83c33070356 Signed-off-by: Huan Yang <link@vivo.corp-partner.google.com>
This commit is contained in:
@@ -323,7 +323,7 @@ struct mem_cgroup {
|
|||||||
spinlock_t event_list_lock;
|
spinlock_t event_list_lock;
|
||||||
#endif /* CONFIG_MEMCG_V1 */
|
#endif /* CONFIG_MEMCG_V1 */
|
||||||
|
|
||||||
ANDROID_OEM_DATA(1);
|
ANDROID_OEM_DATA_ARRAY(1, 2);
|
||||||
|
|
||||||
struct mem_cgroup_per_node *nodeinfo[];
|
struct mem_cgroup_per_node *nodeinfo[];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user