Re: [PATCH 5/8] cgroup: rstat: punt root-level optimization to individual controllers

2021-02-08 Thread Tejun Heo
Hello, On Mon, Feb 08, 2021 at 03:29:21PM -0500, Johannes Weiner wrote: > > > @@ -789,6 +793,7 @@ static void blkcg_rstat_flush(struct > > > cgroup_subsys_state *css, int cpu) > > > u64_stats_update_end(>iostat.sync); > > > > > > /* propagate global delta to parent */ > > >

Re: [PATCH 5/8] cgroup: rstat: punt root-level optimization to individual controllers

2021-02-08 Thread Johannes Weiner
On Fri, Feb 05, 2021 at 10:34:39PM -0500, Tejun Heo wrote: > Hello, > > On Fri, Feb 05, 2021 at 01:28:03PM -0500, Johannes Weiner wrote: > > Current users of the rstat code can source root-level statistics from > > the native counters of their respective subsystem, allowing them to > > forego

Re: [PATCH 5/8] cgroup: rstat: punt root-level optimization to individual controllers

2021-02-05 Thread Tejun Heo
Hello, On Fri, Feb 05, 2021 at 01:28:03PM -0500, Johannes Weiner wrote: > Current users of the rstat code can source root-level statistics from > the native counters of their respective subsystem, allowing them to > forego aggregation at the root level. This optimization is currently >

[PATCH 5/8] cgroup: rstat: punt root-level optimization to individual controllers

2021-02-05 Thread Johannes Weiner
Current users of the rstat code can source root-level statistics from the native counters of their respective subsystem, allowing them to forego aggregation at the root level. This optimization is currently implemented inside the generic rstat code, which doesn't track the root cgroup and doesn't