On 2019/7/12 下午3:58, Peter Zijlstra wrote: [snip] >>> >>> Then our task t1 should be accounted to B (as you do), but also to A and >>> R. >> >> I get the point but not quite sure about this... >> >> Not like pages there are no hierarchical limitation on locality, also tasks > > You can use cpusets to affect that. Could you please give more detail on this? > >> running in a particular group have no influence to others, not to mention the >> extra overhead, does it really meaningful to account the stuff hierarchically? > > AFAIU it's a requirement of cgroups to be hierarchical. All our other > cgroup accounting is like that. Ok, should respect the convention :-) Regards, Michael Wang >