Messages in this thread | | | Date | Tue, 9 Aug 2022 07:56:20 -1000 | From | Tejun Heo <> | Subject | Re: [PATCH 0/3] enable memcg accounting for kernfs objects |
| |
Hello,
On Tue, Aug 09, 2022 at 07:49:34PM +0200, Michal Koutný wrote: > 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/
Ah, thanks. Vasily, can you please include some summary of the discussions and the rationales for the path taken in the commit message?
Thanks.
-- tejun
| |