ARM64/dts: sdmmagpie: Disable memcg kernel and socket accounting

Disable memcg kernel and socket accounting on sm8150 since memory
cgroups is used in this target as a means of user space task
grouping based on oom_score_adj, and controlling the userspace
memory consumed by tasks. Kernel and socket memory accounting is
not considered. Since memcg is created per process on this target
enabling kernel accounting results in the creation of numerous
kmem caches resulting in significant overhead.

Change-Id: I2caad9ce6cca5846b6183a0f0753977db54a660d
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
Vinayak Menon 2018-05-10 13:37:05 +05:30 committed by Richard Raya
parent 5a9efeca04
commit 8e01f1bbd5

View File

@ -458,7 +458,7 @@
};
chosen {
bootargs = "rcupdate.rcu_expedited=1 rcupdate.rcu_normal_after_boot=1 rcu_nocbs=0-7 kpti=off quiet noirqdebug mitigations=off nosoftlockup mce=ignore_ce";
bootargs = "rcupdate.rcu_expedited=1 rcupdate.rcu_normal_after_boot=1 rcu_nocbs=0-7 cgroup.memory=nokmem,nosocket kpti=off quiet noirqdebug mitigations=off nosoftlockup mce=ignore_ce";
rng-seed = <0x12345678>;
};