summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuren Baghdasaryan2018-05-23 14:30:44 -0500
committerSuren Baghdasaryan2018-05-24 17:13:00 -0500
commitbc131c3244a6aa4961092ba08285f9d0435a8882 (patch)
tree8fc79f4c24531bedf8240e68ba7f77fe40cfb5a4 /base/include
parent6e9289013560484e17b995dbe51bd4d3ba61ab34 (diff)
downloadplatform-system-core-bc131c3244a6aa4961092ba08285f9d0435a8882.tar.gz
platform-system-core-bc131c3244a6aa4961092ba08285f9d0435a8882.tar.xz
platform-system-core-bc131c3244a6aa4961092ba08285f9d0435a8882.zip
Make per-application memcg hierarchy configurable via a property
Introduce ro.config.per_app_memcg Android property to enable/disable per-application memcg hierarchy. On low-ram devices (ro.config.low_ram=true) ro.config.per_app_memcg defaults to true, otherwise it defaults to false. Bug: 80201565 Test: set ro.config.per_app_memcg=true and verify /proc/<app_pid>/cgroup membership (memory:/apps/uid_xxx/pid_xxx) Test: set ro.config.per_app_memcg=false and verify /proc/<app_pid>/cgroup membership (memory:/) Change-Id: Iabd3ef6c9c16c774b9da959a7f43b5f66df120a3 Merged-In: Iabd3ef6c9c16c774b9da959a7f43b5f66df120a3 Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Diffstat (limited to 'base/include')
0 files changed, 0 insertions, 0 deletions