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 <xieliujie@oppo.com>
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 <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
Liujie Xie 2021-07-03 10:05:21 +08:00 • committed by Xiaojun Ji
commit 9244f7f6c6

View file

@ -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 */
};