From 9244f7f6c6382ee604fa27e8ff2a41956b13b7d2 Mon Sep 17 00:00:00 2001 From: Liujie Xie Date: Sat, 3 Jul 2021 10:05:21 +0800 Subject: [PATCH] ANDROID: vendor_hooks: add a field in mem_cgroup Add a field in mem_cgroup to record additional per-cgroup information for memory policy tuning. Bug: 192052083 Mot-CRs-fixed: (CR) Signed-off-by: Liujie Xie Change-Id: I28c8bc1c2455d53e68a05555b57b76ded27af98a Reviewed-on: https://gerrit.mot.com/2747019 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Xiangpo Zhao Submit-Approved: Jira Key --- include/linux/memcontrol.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h index a1b04d916526..a56b16cc56f6 100644 --- a/include/linux/memcontrol.h +++ b/include/linux/memcontrol.h @@ -334,6 +334,7 @@ struct mem_cgroup { struct deferred_split deferred_split_queue; #endif + ANDROID_OEM_DATA(1); struct mem_cgroup_per_node *nodeinfo[0]; /* WARNING: nodeinfo must be the last member here */ };