Re: [PATCH cgroup/for-5.8] cgroup: add cpu.stat file to root cgroup

2020-05-27 Thread Johannes Weiner
On Tue, May 26, 2020 at 01:08:00PM -0700, Boris Burkov wrote: > Currently, the root cgroup does not have a cpu.stat file. Add one which > is consistent with /proc/stat to capture global cpu statistics that > might not fall under cgroup accounting. > > We haven't done this in the past because the d

Re: [PATCH cgroup/for-5.8] cgroup: add cpu.stat file to root cgroup

2020-05-26 Thread Tejun Heo
Hello, On Tue, May 26, 2020 at 01:08:00PM -0700, Boris Burkov wrote: > Currently, the root cgroup does not have a cpu.stat file. Add one which > is consistent with /proc/stat to capture global cpu statistics that > might not fall under cgroup accounting. > > We haven't done this in the past becau

[PATCH cgroup/for-5.8] cgroup: add cpu.stat file to root cgroup

2020-05-26 Thread Boris Burkov
Currently, the root cgroup does not have a cpu.stat file. Add one which is consistent with /proc/stat to capture global cpu statistics that might not fall under cgroup accounting. We haven't done this in the past because the data are already presented in /proc/stat and we didn't want to add overhe