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

Issue 2188043003: Linux: Increase storage size of vmstat data (Closed)

Created:
4 years, 4 months ago by Tom (Use chromium acct)
Modified:
4 years, 4 months ago
Reviewers:
Lei Zhang
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Linux: Increase storage size of vmstat data The linux kernel stores and prints the data associated with /proc/vmstat as unsigned longs, so increase Chrome's storage of these fields accordingly. https://github.com/torvalds/linux/blob/e4fba88d00d21f50239eac7d653027bfaf844296/include/linux/vmstat.h#L25 Committed: https://crrev.com/2b684a8a660073c2ae0f0967a394545eff255a91 Cr-Commit-Position: refs/heads/master@{#408774}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix test #

Total comments: 2

Patch Set 3 : Swap EXPECT order #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -12 lines) Patch
M base/process/process_metrics.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M base/process/process_metrics_linux.cc View 1 1 chunk +7 lines, -3 lines 0 comments Download
M base/process/process_metrics_unittest.cc View 1 2 1 chunk +6 lines, -6 lines 0 comments Download

Messages

Total messages: 25 (16 generated)
Tom (Use chromium acct)
Additionally, the man page for proc(5) specifies that most fields in /proc/meminfo are unsigned long, ...
4 years, 4 months ago (2016-07-28 01:10:46 UTC) #6
Lei Zhang
https://codereview.chromium.org/2188043003/diff/1/base/process/process_metrics_linux.cc File base/process/process_metrics_linux.cc (right): https://codereview.chromium.org/2188043003/diff/1/base/process/process_metrics_linux.cc#newcode684 base/process/process_metrics_linux.cc:684: meminfo->pswpin = val; Can we just make pswpin and ...
4 years, 4 months ago (2016-07-28 18:38:05 UTC) #10
Lei Zhang
Oh, and red trybots.
4 years, 4 months ago (2016-07-28 18:38:21 UTC) #11
Tom (Use chromium acct)
On 2016/07/28 18:38:05, Lei Zhang wrote: > https://codereview.chromium.org/2188043003/diff/1/base/process/process_metrics_linux.cc > File base/process/process_metrics_linux.cc (right): > > https://codereview.chromium.org/2188043003/diff/1/base/process/process_metrics_linux.cc#newcode684 ...
4 years, 4 months ago (2016-07-28 19:41:17 UTC) #14
Lei Zhang
lgtm https://codereview.chromium.org/2188043003/diff/20001/base/process/process_metrics_unittest.cc File base/process/process_metrics_unittest.cc (right): https://codereview.chromium.org/2188043003/diff/20001/base/process/process_metrics_unittest.cc#newcode289 base/process/process_metrics_unittest.cc:289: EXPECT_EQ(meminfo.pswpin, 179LU); Flip the arguments to expected / ...
4 years, 4 months ago (2016-07-29 00:50:14 UTC) #17
Tom (Use chromium acct)
https://codereview.chromium.org/2188043003/diff/20001/base/process/process_metrics_unittest.cc File base/process/process_metrics_unittest.cc (right): https://codereview.chromium.org/2188043003/diff/20001/base/process/process_metrics_unittest.cc#newcode289 base/process/process_metrics_unittest.cc:289: EXPECT_EQ(meminfo.pswpin, 179LU); On 2016/07/29 00:50:13, Lei Zhang wrote: > ...
4 years, 4 months ago (2016-07-29 20:28:54 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2188043003/40001
4 years, 4 months ago (2016-07-29 20:29:43 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-07-29 21:39:15 UTC) #23
commit-bot: I haz the power
4 years, 4 months ago (2016-07-29 21:40:55 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2b684a8a660073c2ae0f0967a394545eff255a91
Cr-Commit-Position: refs/heads/master@{#408774}

Powered by Google App Engine
This is Rietveld 408576698