Re: [PATCH] cgroup/misc: Remove unused misc_cg_res_total_usage
From: Michal Koutný
Date: Tue Jan 28 2025 - 04:19:21 EST
On Mon, Jan 27, 2025 at 11:52:14PM +0000, linux@xxxxxxxxxxx wrote:
> From: "Dr. David Alan Gilbert" <linux@xxxxxxxxxxx>
>
> misc_cg_res_total_usage() was added in 2021 by
> commit a72232eabdfc ("cgroup: Add misc cgroup controller")
>
> but has remained unused.
It can be used by out-of-tree modules in theory.
But the information is more likely used by userspace than internal
consumers as of
e973dfe929944 ("cgroup/misc: Expose misc.current on cgroup v2 root") v6.5-rc1~187^2~1
> Remove it.
I think it's fine to remove it now.
Acked-by: Michal Koutný <mkoutny@xxxxxxxx>
Michal
Attachment:
signature.asc
Description: PGP signature