From fdd0dfebba690df79b3d7646c0bd4b8d2d31ddbd Mon Sep 17 00:00:00 2001 From: Serge Hallyn Date: Sun, 13 Sep 2020 10:12:33 -0500 Subject: [PATCH] main/linux-postmarketos-allwinner: enable CONFIG_CGROUP_FREEZER (MR 1569) Enable the freezer cgroup. This allows a user to start a large application like firefox, freeze it to save some power, and unfreeze it to continue using it, without having to restart the application completely. Stopping and restarting the application completely results in more battery usage as well as lost state. Signed-off-by: Serge Hallyn --- main/linux-postmarketos-allwinner/APKBUILD | 4 ++-- .../config-postmarketos-allwinner.aarch64 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main/linux-postmarketos-allwinner/APKBUILD b/main/linux-postmarketos-allwinner/APKBUILD index 82b099b74..8ca863258 100644 --- a/main/linux-postmarketos-allwinner/APKBUILD +++ b/main/linux-postmarketos-allwinner/APKBUILD @@ -5,7 +5,7 @@ _flavor=postmarketos-allwinner _config="config-$_flavor.$CARCH" pkgname=linux-$_flavor pkgver=5.8.0_git20200911 -pkgrel=1 +pkgrel=2 _commit="e1c26b7bd643515d3be20268cd2385df2388f8b9" pkgdesc="Kernel fork with Pine64 patches" arch="aarch64" @@ -70,7 +70,7 @@ dev() { } sha512sums="a976daf8ffeeff1d650edc48a3268e84e7ac7a1b1151311376590d2972826e24f5b4c9c2880a1f1bcb1324d5162e06be96ef74e46fd96f081193ba376957a921 linux-postmarketos-allwinner-e1c26b7bd643515d3be20268cd2385df2388f8b9.tar.gz -53c7fcd5334099d05011d27d0c7d7b4624c55dff5216011fe5c154925eb4b5ec56c6c8c44af889578dca6bf43051b6dc49e9fa0fad6ce0750d8f020765863a26 config-postmarketos-allwinner.aarch64 +1cc6be56373d40f14405b8a678d6b32b72c8562a9064c7d411e94ea12f73ca32e572f7ad899f4bf057797d7df4e0d593df6db700412d8666ba083691c2d8c3f5 config-postmarketos-allwinner.aarch64 3c0d9d282a36a5f6a442b434839d77851f9b20185725cb73aee88e6e209c68fd3d71df8e2a36ffcdb605c47f86df5dbcda5d00353c75c23303861936196924e0 disable-power-save.patch c6e1ff1c060f68a59fa57a7cfc573a500fc8d200f56193530f7c1967e4f70f17cb2c930496f6a6489a6a10de130a2e66f5cd328eb6c4ae936f4af348a7413c3b touch-dts.patch 3e38a3d25c5981d0bb2e40cedb1ff473477be48b1ed3919e77aea23a108f12e8a3794aced53d8e96ce03f03a81dbcad59d61cff023f8714971e01e714f74b368 convergence.patch diff --git a/main/linux-postmarketos-allwinner/config-postmarketos-allwinner.aarch64 b/main/linux-postmarketos-allwinner/config-postmarketos-allwinner.aarch64 index c3220f455..a2e9e0d57 100644 --- a/main/linux-postmarketos-allwinner/config-postmarketos-allwinner.aarch64 +++ b/main/linux-postmarketos-allwinner/config-postmarketos-allwinner.aarch64 @@ -142,7 +142,7 @@ CONFIG_FAIR_GROUP_SCHED=y # CONFIG_RT_GROUP_SCHED is not set CONFIG_CGROUP_PIDS=y # CONFIG_CGROUP_RDMA is not set -# CONFIG_CGROUP_FREEZER is not set +CONFIG_CGROUP_FREEZER=y CONFIG_CGROUP_HUGETLB=y CONFIG_CPUSETS=y CONFIG_PROC_PID_CPUSET=y