No description
Find a file
Suren Baghdasaryan 1a2589e52b lmkd: Detect the highest level of vmpressure when event is detected
(cherry pick from commit e82e15c242)

lmkd checks for vmpressure events using epoll_wait() with eventfds of
all registered events. It's possible that multiple events of different
priorities happen before epoll_wait() returns. For these cases we
use conservative approach by assuming that the system is under the
highest registered vmpressure levels. This speeds up lmkd response time
to high memory pressure by not responding to possibly stale low pressure
levels when vmpressure rises quickly.

Bug: 63631020
Test: alloc-stress

Change-Id: I79a85c3342e7e1b3a3be82945266b2cc60b437cf
Merged-In: I79a85c3342e7e1b3a3be82945266b2cc60b437cf
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2018-03-02 01:13:16 +00:00
adb adb: add a way to make the server intentionally leak. 2018-02-28 14:16:14 -08:00
adf Merge "Add OWNERS." 2017-12-07 23:21:26 +00:00
base EndsWith *suffix* 2018-02-27 16:12:55 +09:00
bootstat Fix PDK build 2018-02-14 03:03:28 +00:00
cpio Possible null pointer miss on realloc 2017-03-23 22:41:14 +01:00
debuggerd Mark crash_dump.policy as not supported on mips 2018-02-27 15:35:11 -08:00
demangle bpfmt. 2018-02-16 17:58:14 -08:00
fastboot Merge "Fix fastboot memory corruption." 2018-01-19 22:39:14 +00:00
fs_mgr fs_mgr: add sysfs_path=%s to indicate a location of sysfs entry 2018-02-26 15:47:09 -08:00
gatekeeperd resolve merge conflicts of 0dd4b6aa3 to stage-aosp-master 2017-09-15 16:50:34 +09:00
healthd healthd: don't report fake data for battery-less devices 2018-02-05 19:48:30 +00:00
include Move android_filesystem_config.h => fs_config.h 2017-08-03 17:20:27 +00:00
init Don't build host_init_verifier on Android either 2018-02-28 21:43:59 -08:00
libappfuse bpfmt. 2018-02-16 17:58:14 -08:00
libasyncio bpfmt. 2018-02-16 17:58:14 -08:00
libbacktrace Modify the offline handling interface. 2018-02-23 09:14:06 -08:00
libbinderwrapper libbinderwrapper: Android.mk -> Android.bp 2017-04-25 15:55:26 -07:00
libcrypto_utils Mark the modules as VNDK in Android.bp 2017-09-14 08:35:16 +00:00
libcutils Remove fs_config entries for webview_zygote. 2018-02-14 17:42:03 -05: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 bpfmt. 2018-02-16 17:58:14 -08:00
libkeyutils Add libkeyutils. 2017-05-10 10:40:11 -07:00
liblog Expose __android_log_buf_print and __android_log_buf_write to NDK 2018-02-20 14:59:28 -08:00
libmemtrack Add OWNERS. 2017-12-07 13:30:03 -08:00
libmemunreachable Make memunreachable_binder_test suitable for VTS 2018-02-27 18:29:18 -08: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 Add OWNERS. 2017-12-07 13:30:03 -08: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 Merge "libsync: Add fence info tests" 2017-09-26 23:46:32 +00:00
libsystem bpfmt. 2018-02-16 17:58:14 -08:00
libsysutils Don't complain that the DNSSL RA option is "unknown". 2017-11-28 06:42:04 +00:00
libunwindstack Merge "Adjust DEX file reading to follow layout changes in ART." 2018-02-23 17:53:23 +00:00
libusbhost Remove urb request size maximum. 2018-02-07 16:12:14 -08:00
libutils libutils: remove subdirs 2018-02-23 14:44:22 -08:00
libvndksupport bpfmt. 2018-02-16 17:58:14 -08:00
libziparchive zip_archive: Fix a few more badly written tests. 2017-12-27 09:42:00 +00:00
lmkd lmkd: Detect the highest level of vmpressure when event is detected 2018-03-02 01:13:16 +00:00
logcat bpfmt. 2018-02-16 17:58:14 -08:00
logd bpfmt. 2018-02-16 17:58:14 -08:00
logwrapper bpfmt. 2018-02-16 17:58:14 -08:00
mkbootimg mkbootimg: use int for os_version and os_patch_level 2016-03-29 16:06:37 -07:00
property_service Introduce property types 2018-01-16 14:44:40 -08: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 "init.rc: Add nodev,noexec,nosuid to /config" 2018-02-15 03:01:33 +00:00
run-as run-as: Keep supplementary groups. 2017-09-29 15:34:23 -04:00
sdcard Remove FUSE logic; it's only a sdcardfs wrapper. 2018-01-12 15:41:55 -07:00
shell_and_utilities Reland: Add getprop to toolbox 2018-01-10 11:26:24 -08:00
storaged Merge "Add OWNERS." 2017-12-07 23:21:26 +00:00
toolbox Build toolbox with _FILE_OFFSET_BITS=64. 2018-01-22 16:15:55 -08:00
trusty bpfmt. 2018-02-16 17:58:14 -08: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 OWNERS. 2017-12-07 13:30:03 -08:00
platform_tools_tool_version.mk Fix warning on the build servers 2017-05-25 12:35:40 -07:00
PREUPLOAD.cfg Add a PREUPLOAD.cfg file to run git-clang-format on every commit 2017-03-08 16:51:26 +08:00