From e8f5f841b764b2ef3e1209ebf03fdb8ff1354773 Mon Sep 17 00:00:00 2001 From: Suren Baghdasaryan Date: Thu, 4 Jan 2018 13:34:50 -0800 Subject: [PATCH] remove CONFIG_ANDROID_LOW_MEMORY_KILLER requirement Kernel configuration options should include either CONFIG_ANDROID_LOW_MEMORY_KILLER for in-kernel lowmemorykiller driver to be used or a combination of CONFIG_MEMCG and CONFIG_MEMCG_SWAP if userspace lmkd is preferred. It is not currently possible to express this logical requirement in the config fragment so the CONFIG_ANDROID_LOW_MEMORY_KILLER requirement is simply removed for now. Bug: 71502948 Change-Id: If022e978265465e7de75e23ac90361149398df3b Signed-off-by: Suren Baghdasaryan --- android-3.18/android-base.cfg | 1 - android-4.4/android-base.cfg | 1 - android-4.9/android-base.cfg | 1 - 3 files changed, 3 deletions(-) diff --git a/android-3.18/android-base.cfg b/android-3.18/android-base.cfg index 0a437cd..9613d87 100644 --- a/android-3.18/android-base.cfg +++ b/android-3.18/android-base.cfg @@ -11,7 +11,6 @@ CONFIG_ANDROID=y CONFIG_ANDROID_BINDER_DEVICES=binder,hwbinder,vndbinder CONFIG_ANDROID_BINDER_IPC=y -CONFIG_ANDROID_LOW_MEMORY_KILLER=y CONFIG_ASHMEM=y CONFIG_AUDIT=y CONFIG_BLK_DEV_INITRD=y diff --git a/android-4.4/android-base.cfg b/android-4.4/android-base.cfg index 06cda33..03dd034 100644 --- a/android-4.4/android-base.cfg +++ b/android-4.4/android-base.cfg @@ -10,7 +10,6 @@ CONFIG_ANDROID=y CONFIG_ANDROID_BINDER_DEVICES=binder,hwbinder,vndbinder CONFIG_ANDROID_BINDER_IPC=y -CONFIG_ANDROID_LOW_MEMORY_KILLER=y CONFIG_ASHMEM=y CONFIG_AUDIT=y CONFIG_BLK_DEV_INITRD=y diff --git a/android-4.9/android-base.cfg b/android-4.9/android-base.cfg index de89892..91d1341 100644 --- a/android-4.9/android-base.cfg +++ b/android-4.9/android-base.cfg @@ -11,7 +11,6 @@ CONFIG_ANDROID=y CONFIG_ANDROID_BINDER_DEVICES=binder,hwbinder,vndbinder CONFIG_ANDROID_BINDER_IPC=y -CONFIG_ANDROID_LOW_MEMORY_KILLER=y CONFIG_ASHMEM=y CONFIG_AUDIT=y CONFIG_BLK_DEV_INITRD=y