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 Bug: 330272526 Signed-off-by: Liujie Xie <xieliujie@oppo.com> Change-Id: I28c8bc1c2455d53e68a05555b57b76ded27af98a (cherry picked from commit 2c7626a1ab442df63394ca86866adcaa3e1b9386)
This commit is contained in:
@@ -323,6 +323,8 @@ struct mem_cgroup {
|
||||
spinlock_t event_list_lock;
|
||||
#endif /* CONFIG_MEMCG_V1 */
|
||||
|
||||
ANDROID_OEM_DATA(1);
|
||||
|
||||
struct mem_cgroup_per_node *nodeinfo[];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user