Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Issue 1603413003: Add memory pressure monitor for Linux. (Closed)

Created:
4 years, 11 months ago by Georges Khalil
Modified:
4 years, 11 months ago
Reviewers:
chrisha
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add memory pressure monitor for Linux. Note that this is a very basic algorithm to get us jump started. Further refinements will be made to improve it. BUG=463606 Committed: https://crrev.com/2abebe8ecc67ba5a27a6a371f4f9186fbab2522a Cr-Commit-Position: refs/heads/master@{#370762}

Patch Set 1 #

Total comments: 8

Patch Set 2 : chrisha@ comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -55 lines) Patch
M components/components_tests.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M components/memory_pressure.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M components/memory_pressure/BUILD.gn View 2 chunks +3 lines, -0 lines 0 comments Download
M components/memory_pressure/direct_memory_pressure_calculator.h View 1 chunk +4 lines, -2 lines 0 comments Download
A + components/memory_pressure/direct_memory_pressure_calculator_linux.h View 3 chunks +9 lines, -14 lines 0 comments Download
A components/memory_pressure/direct_memory_pressure_calculator_linux.cc View 1 1 chunk +74 lines, -0 lines 0 comments Download
A + components/memory_pressure/direct_memory_pressure_calculator_linux_unittest.cc View 5 chunks +11 lines, -36 lines 0 comments Download
M components/memory_pressure/memory_pressure_listener.h View 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
Georges Khalil
PTAL.
4 years, 11 months ago (2016-01-20 18:36:28 UTC) #4
chrisha
https://codereview.chromium.org/1603413003/diff/1/components/memory_pressure/direct_memory_pressure_calculator_linux.cc File components/memory_pressure/direct_memory_pressure_calculator_linux.cc (right): https://codereview.chromium.org/1603413003/diff/1/components/memory_pressure/direct_memory_pressure_calculator_linux.cc#newcode14 components/memory_pressure/direct_memory_pressure_calculator_linux.cc:14: static const int kKBperMB = 1024; pedantic nit: kKiBperMiB ...
4 years, 11 months ago (2016-01-20 20:55:43 UTC) #5
Georges Khalil
PTAL. https://codereview.chromium.org/1603413003/diff/1/components/memory_pressure/direct_memory_pressure_calculator_linux.cc File components/memory_pressure/direct_memory_pressure_calculator_linux.cc (right): https://codereview.chromium.org/1603413003/diff/1/components/memory_pressure/direct_memory_pressure_calculator_linux.cc#newcode14 components/memory_pressure/direct_memory_pressure_calculator_linux.cc:14: static const int kKBperMB = 1024; On 2016/01/20 ...
4 years, 11 months ago (2016-01-21 14:47:44 UTC) #6
chrisha
lgtm!
4 years, 11 months ago (2016-01-21 18:33:12 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1603413003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1603413003/20001
4 years, 11 months ago (2016-01-21 18:34:54 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 11 months ago (2016-01-21 20:00:34 UTC) #11
commit-bot: I haz the power
4 years, 11 months ago (2016-01-21 20:01:26 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2abebe8ecc67ba5a27a6a371f4f9186fbab2522a
Cr-Commit-Position: refs/heads/master@{#370762}

Powered by Google App Engine
This is Rietveld 408576698