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

Signed-off-by: Liujie Xie <xieliujie@oppo.com>
Change-Id: I28c8bc1c2455d53e68a05555b57b76ded27af98a
This commit is contained in:
Liujie Xie 2021-07-03 10:05:21 +08:00 committed by Todd Kjos
parent 65115fdbf8
commit 9d1b55d20a

View File

@ -331,6 +331,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 */
};