Tejun Heo <tj@xxxxxxxxxx> writes: > On Mon, Feb 06, 2023 at 08:00:54PM -0500, Waiman Long wrote: >> If it should not be part of the memcg, does it make sense to make it a >> resource in the existing misc controller? I believe we don't want a >> proliferation of new cgroup controllers. > > Yeah, if it's gonna be an independent knob, I suppose so, but I really think > the locked accounting should be tied to the page, which mostly likely would > mean that it'd be tied to the page ownership too making its natural place > memcg. Yes, I think it might be possible. I looked briefly at doing it when initially developing the series but I would like to resolve the question of independent knob vs. memcg before heading too far down either path. > Thanks.