Add flags for cgroup v2 and memcg v2 features

These flags allow devices to opt in to memory control group v2 features.

Bug: 327480673
Test: m
Change-Id: I243f468cb0d89b3180303543a94ff05d30981d7d
This commit is contained in:
T.J. Mercier
2024-03-27 21:53:52 +00:00
parent 6c539c0d83
commit 18a5d3920a
2 changed files with 14 additions and 0 deletions

View File

@@ -421,6 +421,12 @@ _product_single_value_vars += PRODUCT_AVF_ENABLED
# If true, kernel with modules will be used for Microdroid VMs.
_product_single_value_vars += PRODUCT_AVF_KERNEL_MODULES_ENABLED
# If true, the memory controller will be force-enabled in the cgroup v2 hierarchy
_product_single_value_vars += PRODUCT_MEMCG_V2_FORCE_ENABLED
# If true, the cgroup v2 hierarchy will be split into apps/system subtrees
_product_single_value_vars += PRODUCT_CGROUP_V2_SYS_APP_ISOLATION_ENABLED
# List of .json files to be merged/compiled into vendor/etc/linker.config.pb
_product_list_vars += PRODUCT_VENDOR_LINKER_CONFIG_FRAGMENTS