[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CALvZod4EWoH7HGMWU+f6svP9gjDUh==GUS3GuD7CxhnB+mq9wA@mail.gmail.com>
Date: Thu, 19 Oct 2023 23:31:23 -0700
From: Shakeel Butt <shakeelb@...gle.com>
To: Roman Gushchin <roman.gushchin@...ux.dev>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, cgroups@...r.kernel.org,
Johannes Weiner <hannes@...xchg.org>,
Michal Hocko <mhocko@...nel.org>,
Muchun Song <muchun.song@...ux.dev>,
Dennis Zhou <dennis@...nel.org>,
David Rientjes <rientjes@...gle.com>,
Vlastimil Babka <vbabka@...e.cz>,
Naresh Kamboju <naresh.kamboju@...aro.org>
Subject: Re: [PATCH v5 6/6] mm: kmem: reimplement get_obj_cgroup_from_current()
On Thu, Oct 19, 2023 at 3:54 PM Roman Gushchin <roman.gushchin@...ux.dev> wrote:
>
> Reimplement get_obj_cgroup_from_current() using current_obj_cgroup().
> get_obj_cgroup_from_current() and current_obj_cgroup() share 80% of
> the code, so the new implementation is almost trivial.
>
> get_obj_cgroup_from_current() is a convenient function used by the
> bpf subsystem, so there is no reason to get rid of it completely.
>
> Signed-off-by: Roman Gushchin (Cruise) <roman.gushchin@...ux.dev>
Acked-by: Shakeel Butt <shakeelb@...gle.com>
Powered by blists - more mailing lists