summaryrefslogtreecommitdiff
path: root/drivers/staging/android/Makefile
diff options
context:
space:
mode:
authorMichal Hocko <mhocko@suse.com>2017-02-22 13:01:21 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-09 13:47:03 +0100
commit915e70f9263d56fbf103742265025f7a492aa625 (patch)
tree8e591ff930360492f2ff346d327cf0e1988168e0 /drivers/staging/android/Makefile
parent12ab16597189993deb6a17827e137c0357ef0de6 (diff)
staging, android: remove lowmemory killer from the tree
Lowmemory killer is sitting in the staging tree since 2008 without any serious interest for fixing issues brought up by the MM folks. The main objection is that the implementation is basically broken by design: - it hooks into slab shrinker API which is not suitable for this purpose. lowmem_count implementation just shows this nicely. There is no scaling based on the memory pressure and no feedback to the generic shrinker infrastructure. Moreover lowmem_scan is called way too often for the heavy work it performs. - it is not reclaim context aware - no NUMA and/or memcg awareness. As the code stands right now it just adds a maintenance overhead when core MM changes have to update lowmemorykiller.c as well. It also seems that the alternative LMK implementation will be solely in the userspace so this code has no perspective it seems. The staging tree is supposed to be for a code which needs to be put in shape before it can be merged which is not the case here obviously. Signed-off-by: Michal Hocko <mhocko@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/android/Makefile')
-rw-r--r--drivers/staging/android/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/android/Makefile b/drivers/staging/android/Makefile
index 7ed1be798909..7cf1564a49a5 100644
--- a/drivers/staging/android/Makefile
+++ b/drivers/staging/android/Makefile
@@ -3,4 +3,3 @@ ccflags-y += -I$(src) # needed for trace events
obj-y += ion/
obj-$(CONFIG_ASHMEM) += ashmem.o
-obj-$(CONFIG_ANDROID_LOW_MEMORY_KILLER) += lowmemorykiller.o