Messages in this thread | | | Date | Tue, 9 Aug 2022 19:49:34 +0200 | From | Michal Koutný <> | Subject | Re: [PATCH 0/3] enable memcg accounting for kernfs objects |
| |
On Tue, Aug 09, 2022 at 07:31:31AM -1000, Tejun Heo <tj@kernel.org> wrote: > I'm not quite sure whether following the usual "charge it to the allocating > task's cgroup" is the best way to go about it. I wonder whether it'd be > better to attach it to the new cgroup's nearest ancestor with memcg enabled.
See also https://lore.kernel.org/r/YnBLge4ZQNbbxufc@blackbook/ and https://lore.kernel.org/r/20220511163439.GD24172@blackbody.suse.cz/
Michal
| |