diff options
author | Suren Baghdasaryan <surenb@google.com> | 2018-05-23 12:30:44 -0700 |
---|---|---|
committer | Suren Baghdasaryan <surenb@google.com> | 2018-05-24 15:13:00 -0700 |
commit | bc131c3244a6aa4961092ba08285f9d0435a8882 (patch) | |
tree | 8fc79f4c24531bedf8240e68ba7f77fe40cfb5a4 /init/action_parser.cpp | |
parent | 6e9289013560484e17b995dbe51bd4d3ba61ab34 (diff) |
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 'init/action_parser.cpp')
0 files changed, 0 insertions, 0 deletions