commit | b8786be3df2f491226a29568cf5e60e69c603c32 | [log] [tgz] |
---|---|---|
author | Martijn Coenen <maco@google.com> | Tue Feb 09 11:25:18 2016 +0100 |
committer | Martijn Coenen <maco@google.com> | Tue Feb 09 11:25:18 2016 +0100 |
tree | fc0beb5a1c46373c17b87b958b4c821fcd9f9190 | |
parent | 8716e8c74a3ab8bc7d8c2ca7ea176e4a2c71ae8e [diff] |
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