Using kernel notifier instead of internal logic
Use the kernel notifier (/dev/chromeos-low-mem) to detect low memory.
Change kNormalMemoryPressureCriticalThresholdPercent to 95 to match the kernel's threshold.
FIxed windows dependency from hashimoto's patchset
patch from issue 1093123002 at patchset 40001 (http://crrev.com/1093123002#ps40001)
BUG=1093123002
Review URL: https://codereview.chromium.org/1068963003
Cr-Commit-Position: refs/heads/master@{#325868}
CrOS-Libchrome-Original-Commit: fc49377d506c8fff4b1c4be5bb208cbe87c8931e
2 files changed