Re: [RFC PATCH 1/3] misc_cgroup: introduce misc.events and misc_events.local

From: Michal Koutný
Date: Fri Sep 10 2021 - 06:33:12 EST


On Fri, Sep 10, 2021 at 01:20:37PM +0800, brookxu <brookxu.cn@xxxxxxxxx> wrote:
> Yeah, this is more reasonable. But there is still one question, whether we
> need to be consistent with other cgroup subsystems, events and events.local
> under v1 should not support hierarchy?

My take is that it's acceptable to present the v2-like files in v1 too
for the sake of simplicity since:
- this is not used yet,
- the v1 is less conventional and
- the presence of events.local would cater even to cases with tasks in
inner nodes.

It'd be good to have Tejun's insight on this too.

Michal