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
This commit is contained in:
parent
23419e3926
commit
9010a2398e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue