Hello. On Sun, Sep 04, 2022 at 11:09:53AM -1000, Tejun Heo <tj@xxxxxxxxxx> wrote: > Let's track whether a cftype is currently added or not using a new flag > __CFTYPE_ADDED IIUC, the flag is equal to (cft->ss || cft->kf_ops), particularly the information is carried in cfs->kf_ops too. Is the effect of cgroup_init_cftypes proper setup of cft->kf_ops? I.e. isn't it simpler to just check that field (without the new flag)? (No objection to current form, just asking whether I understand the impact.) Thanks, Michal