Go to file
Suren Baghdasaryan d273b6630d lmkd: Introduce support for legacy kill algorithm that uses minfree levels
Add ability to switch to the algorithm used by lowmemorykiller driver
for determining when to kill. It uses minfree levels to decide at which
levels of free memory and file cache to kill a process. oom_adj_score
is also determined by comparing current memory resources against minfree
levels.
ro.lmk.use_minfree_levels property is introduces for switching into this
mode. By default it is disabled.

Bug: 77299493
Bug: 75322373
Change-Id: I6b51972951026854a079fcda33d6786b7ed035e4
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2018-04-15 02:29:57 -07:00
adb Merge "adb: fix `adb reverse` when adbd has multiple transports." into pi-dev 2018-04-14 15:57:32 -07:00
adf Merge "Add OWNERS." am: 3289b9c928 am: 515c8fe572 2017-12-08 01:29:20 +00:00
base Add SIZEOF_MEMBER. 2018-04-11 12:29:50 -07:00
bootstat Merge "bootstat: refine "Kernel panic - not syncing"" am: 3b353ed41c 2018-03-23 00:02:27 +00:00
cpio Possible null pointer miss on realloc 2017-03-23 22:41:14 +01:00
debuggerd debuggerd: remove maximum abort message length. 2018-04-13 17:34:20 -07:00
demangle bpfmt. 2018-02-16 17:58:14 -08:00
diagnose_usb Copy adb/OWNERS to diagnose_usb/OWNERS. 2018-03-05 15:47:43 -08:00
fastboot fastboot: fix header_actual calculation 2018-04-12 17:20:53 +00:00
fs_mgr Merge "fastboot, fs_mgr: set fsverity feature bit" into pi-dev 2018-04-10 21:07:57 -07:00
gatekeeperd Merge "Revert "Restore "Add UID parameter to authentication token""" 2018-02-23 17:42:46 +00:00
healthd Merge "Use the non-LTO, non-PGO version of libhwbinder" into pi-dev 2018-04-10 11:29:55 -07:00
include Move android_filesystem_config.h => fs_config.h 2017-08-02 16:31:19 -07:00
init Merge "init: use signalfd to catch SIGCHLD" am: 07de83831f 2018-04-12 16:07:25 -07:00
libappfuse Stop using SO_SNDBUFFORCE 2018-03-15 14:22:27 +09:00
libasyncio Merge "Make libasyncio headers usable from C" 2018-03-06 19:35:21 +00:00
libbacktrace Add a MemoryOfflineBuffer object. 2018-04-04 12:29:25 -07:00
libbinderwrapper Make libbinderwrapper available in /vendor partition 2018-04-06 08:41:21 +09:00
libcrypto_utils Mark the modules as VNDK in Android.bp 2017-09-14 08:35:16 +00:00
libcutils Remove vendor Wifi and BT entries from fs_config.cpp 2018-04-05 10:40:49 -07:00
libdiskconfig Rename target.linux[_x86[_64]] to target.linux_glibc[_x86[_64]] 2017-10-02 10:44:29 -07:00
libgrallocusage Use -Werror in system/core 2017-11-01 11:32:55 -07:00
libion libion: cleanup logging 2018-03-07 10:56:06 -08:00
libkeyutils Add libkeyutils. 2017-05-10 10:40:11 -07:00
liblog Add missing @addtogroup tags. 2018-04-13 14:49:41 -07:00
libmemtrack Add OWNERS. 2017-12-07 13:30:03 -08:00
libmemunreachable Remove test_suites: ["vts"] from memunreachable_binder_test 2018-03-15 14:57:22 -07:00
libmetricslogger Add OWNERS. 2017-12-07 13:30:03 -08:00
libnativebridge bpfmt. 2018-02-16 17:58:14 -08:00
libnativeloader bpfmt. 2018-02-16 17:58:14 -08:00
libnetutils Merge "Add OWNERS." am: 3289b9c928 2017-12-07 23:51:13 +00:00
libpackagelistparser bpfmt. 2018-02-16 17:58:14 -08:00
libpixelflinger MIPS[64]: codeflinger: Fix build due to unused variable warnings 2017-11-06 16:38:49 +01:00
libprocessgroup libprocessgroup: remove legacy C string handling and build for host 2018-02-27 14:12:19 -08:00
libprocinfo bpfmt. 2018-02-16 17:58:14 -08:00
libqtaguid Redirect qtaguid native call to netd fwmark client 2017-11-09 18:02:22 -08:00
libsparse Merge "<stdbool.h> not necessary in C++." 2017-10-17 19:26:53 +00:00
libsuspend Add force_suspend function 2018-01-19 12:30:39 -08:00
libsync Add missing @addtogroup tags. 2018-04-13 14:49:41 -07:00
libsystem graphics: add render intents and new color modes 2018-03-28 10:23:09 -07:00
libsysutils Include iface index in the netlink event 2018-03-09 12:46:20 +09:00
libunwindstack Add a MemoryOfflineBuffer object. 2018-04-04 12:29:25 -07:00
libusbhost Merge "Remove urb request size maximum." am: 1cb765c867 am: 1ab6e9d018 2018-02-13 09:02:38 +00:00
libutils Merge "Remove more semicolons at the end of namespaces" am: d652a9e231 2018-04-12 09:36:44 -07:00
libvndksupport bpfmt. 2018-02-16 17:58:14 -08:00
libziparchive Merge "Remove empty zip warning on host builds" am: fd42c09813 2018-03-02 02:32:13 +00:00
lmkd lmkd: Introduce support for legacy kill algorithm that uses minfree levels 2018-04-15 02:29:57 -07:00
logcat Add event log tag for hidden API access logging. 2018-04-10 14:32:23 +01:00
logd Make logd more aggressive when scanning for the position from which to resume logging. 2018-04-04 14:46:45 -07:00
logwrapper Build /vendor/bin/logwrapper too. 2018-04-12 12:12:46 +00:00
mkbootimg Add fastboot --os-version and --os-patch-level. 2018-04-09 18:37:39 +00:00
property_service Verify the SELabels used in property_contexts 2018-03-26 16:32:05 -07:00
qemu_pipe Add OWNERS. 2017-12-07 13:30:03 -08:00
reboot reboot: only pause indefinitely for non-shutdown operations 2017-09-29 16:29:52 +00:00
rootdir Merge changes from topic "healthd_deprecate2" into pi-dev am: 7498160272 2018-04-05 13:14:03 -07:00
run-as run-as: Keep supplementary groups. 2017-09-29 15:34:23 -04:00
sdcard Add support for esdfs mounting 2018-01-19 12:58:42 -08:00
shell_and_utilities Build /vendor/bin/logwrapper too. 2018-04-12 12:12:46 +00:00
storaged storaged: lower capabilities in init 2018-04-13 11:27:48 -07:00
toolbox Build toolbox with _FILE_OFFSET_BITS=64. 2018-01-22 16:15:55 -08:00
trusty Merge "bpfmt." am: 0609e8d231 am: b57755c429 2018-02-20 02:24:45 +00:00
usbd bpfmt. 2018-02-16 17:58:14 -08:00
.clang-format Add a 2 width option of clang format. 2017-03-10 13:01:39 -08:00
.clang-format-2 Only allow short functions in class definitions. 2017-03-28 12:31:37 -07:00
.clang-format-4 Only allow short functions in class definitions. 2017-03-28 12:31:37 -07:00
.gitignore Ignore adb/*.pyc files 2015-08-11 12:59:58 -07:00
Android.bp Export android_filesystem_config.h as a filegroup 2017-01-17 18:20:28 -08:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:12:32 -07:00
CleanSpec.mk Add VNDK version for namespace configuration files 2017-12-13 10:31:04 +09:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
NOTICE Fix omission in NOTICE file. 2013-07-30 13:56:55 -07:00
OWNERS Add ek and lorenzo to OWNERS for system/core netlink code. 2018-03-05 19:18:02 +09:00
PREUPLOAD.cfg Add a PREUPLOAD.cfg file to run git-clang-format on every commit 2017-03-08 16:51:26 +08:00
platform_tools_tool_version.mk Fix warning on the build servers 2017-05-25 12:35:40 -07:00