Re: [PATCH v10 0/3] Charge loop device i/o to issuing cgroup

From: Dan Schatzberg
Date: Fri Mar 19 2021 - 12:28:51 EST


On Fri, Mar 19, 2021 at 09:20:16AM -0700, Shakeel Butt wrote:
> One suggestion would be to make get_mem_cgroup_from_mm() more generic
> (i.e. handle !mm && active_memcg() case) and avoid
> get_mem_cgroup_from_current() as it might go away.

Yeah, that occurred to me as well. I'll take a stab at doing that.