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
tree: 1b4903830480d604f02261a86e16d1662242efc8
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/