Skip to content

Commit

Permalink
defconfig: enable memory cgroups
Browse files Browse the repository at this point in the history
Recommended by google
https://source.android.com/devices/tech/config/low-ram.html#zram

Change-Id: If6a6277359605dd5ac700d70e0495dabcf7be557
  • Loading branch information
g-pl committed Jan 27, 2017
1 parent 6444d48 commit ab83a13
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/arm/configs/l70pds_global_com_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ CONFIG_CGROUP_DEBUG=y
CONFIG_CGROUP_FREEZER=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_RESOURCE_COUNTERS=y
CONFIG_CGROUP_MEM_RES_CTLR=y
CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y
CONFIG_CGROUP_SCHED=y
CONFIG_RT_GROUP_SCHED=y
CONFIG_NAMESPACES=y
Expand Down Expand Up @@ -482,6 +484,7 @@ CONFIG_RTC_DRV_QPNP=y
CONFIG_UIO=y
CONFIG_UIO_MSM_SHAREDMEM=y
CONFIG_STAGING=y
CONFIG_SWAP=y
CONFIG_ZRAM=y
CONFIG_ZRAM_LZ4_COMPRESS=y
CONFIG_ZSMALLOC=y
Expand Down
3 changes: 3 additions & 0 deletions arch/arm/configs/l70pn_global_com_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ CONFIG_CGROUP_DEBUG=y
CONFIG_CGROUP_FREEZER=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_RESOURCE_COUNTERS=y
CONFIG_CGROUP_MEM_RES_CTLR=y
CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y
CONFIG_CGROUP_SCHED=y
CONFIG_RT_GROUP_SCHED=y
CONFIG_NAMESPACES=y
Expand Down Expand Up @@ -483,6 +485,7 @@ CONFIG_RTC_DRV_QPNP=y
CONFIG_UIO=y
CONFIG_UIO_MSM_SHAREDMEM=y
CONFIG_STAGING=y
CONFIG_SWAP=y
CONFIG_ZRAM=y
CONFIG_ZRAM_LZ4_COMPRESS=y
CONFIG_ZSMALLOC=y
Expand Down

0 comments on commit ab83a13

Please sign in to comment.