diff options
author | Martijn Coenen <maco@google.com> | 2016-02-09 11:25:18 +0100 |
---|---|---|
committer | Martijn Coenen <maco@google.com> | 2016-02-09 11:25:18 +0100 |
commit | 9010a2398e72bdee3f51f7a5dd3c29e906b6dee0 (patch) | |
tree | fc0beb5a1c46373c17b87b958b4c821fcd9f9190 /lmkd | |
parent | 23419e3926459896c5b22666659fd72da2fca63d (diff) | |
download | system_core-9010a2398e72bdee3f51f7a5dd3c29e906b6dee0.tar.gz system_core-9010a2398e72bdee3f51f7a5dd3c29e906b6dee0.tar.bz2 system_core-9010a2398e72bdee3f51f7a5dd3c29e906b6dee0.zip |
lmkd: subscribe to low mempressure events.
This will make sure we get invoked in time,
and combined with a kernel change to increase
the window size (and thus rate-limit the
notifications) based on the amount of memory
on the device, this should provide a nice
balance between receiving too many notifications
vs getting notified too late.
Change-Id: I2f5e92390b94e582aaa06d88763a232e39673496
Diffstat (limited to 'lmkd')
-rw-r--r-- | lmkd/lmkd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lmkd/lmkd.c b/lmkd/lmkd.c index 511bf6852..afc81ed6c 100644 --- a/lmkd/lmkd.c +++ b/lmkd/lmkd.c @@ -39,7 +39,7 @@ #endif #define MEMCG_SYSFS_PATH "/dev/memcg/" -#define MEMPRESSURE_WATCH_LEVEL "medium" +#define MEMPRESSURE_WATCH_LEVEL "low" #define ZONEINFO_PATH "/proc/zoneinfo" #define LINE_MAX 128 |