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:
Huan Yang
2025-04-24 16:03:32 +08:00
committed by Carlos Llamas
parent b464fe7226
commit 8e70bb6369

View File

@@ -323,7 +323,7 @@ struct mem_cgroup {
spinlock_t event_list_lock;
#endif /* CONFIG_MEMCG_V1 */
ANDROID_OEM_DATA(1);
ANDROID_OEM_DATA_ARRAY(1, 2);
struct mem_cgroup_per_node *nodeinfo[];
};