Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 8e70bb6

Browse files
Huan YangCarlos Llamas
authored andcommitted
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>
1 parent b464fe7 commit 8e70bb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/memcontrol.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ struct mem_cgroup {
323323
spinlock_t event_list_lock;
324324
#endif /* CONFIG_MEMCG_V1 */
325325

326-
ANDROID_OEM_DATA(1);
326+
ANDROID_OEM_DATA_ARRAY(1, 2);
327327

328328
struct mem_cgroup_per_node *nodeinfo[];
329329
};

0 commit comments

Comments
 (0)