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

Issue 2745473002: Cgroup-awareness for chromium (Closed)

Created:
3 years, 9 months ago by mosajjal
Modified:
3 years, 9 months ago
CC:
chromium-reviews, vmpstr+watch_chromium.org, Tom Anderson
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

added cgroup total_memory_kb BUG=620409

Patch Set 1 #

Patch Set 2 : minor fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -0 lines) Patch
M base/process/process_metrics_linux.cc View 1 2 chunks +61 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
Tom (Use chromium acct)
please run 'git cl format' for the next patch set
3 years, 9 months ago (2017-03-09 05:57:26 UTC) #4
Tom (Use chromium acct)
Also, were you able to actually compile this locally? For example, I'd expect this not ...
3 years, 9 months ago (2017-03-09 05:59:17 UTC) #5
mosajjal
On 2017/03/09 05:59:17, Tom Anderson wrote: > Also, were you able to actually compile this ...
3 years, 9 months ago (2017-03-09 06:04:47 UTC) #6
mosajjal
Fixed errors
3 years, 9 months ago (2017-03-09 07:34:02 UTC) #7
Tom (Use chromium acct)
I think this approach sounds good to me, for the most part. But you'll have ...
3 years, 9 months ago (2017-03-10 02:19:18 UTC) #14
Lei Zhang
Please try to get a functional patch ready first before asking for a review. Another ...
3 years, 9 months ago (2017-03-10 02:26:32 UTC) #15
mosajjal
3 years, 9 months ago (2017-03-14 15:03:08 UTC) #17
On 2017/03/10 02:26:32, Lei Zhang (super slow) wrote:
> Please try to get a functional patch ready first before asking for a review.
> Another aspect of readiness is code that actually compiles. For instance,
what's
> the point of writing IfOnCgroup() if there's no callers? If the compiler tried
> to build this code, it will notice the unused function and warn. In Chromium,
> warnings are considered errors, so the build would fail as is.
> 
> For formatting:
> https://chromium.googlesource.com/chromium/src/+/master/styleguide/c++/c++.md
> 
> It's a lot to take in, so just try your best and we can point you in the right
> direction from there.

moved it to #2746793004

https://codereview.chromium.org/2746793004/

it compiles now (finally!)

Powered by Google App Engine
This is Rietveld 408576698