Re: [PATCH v1 2/3] cgroup: add cgroup_all_get_from_[fd/file]()

From: Tejun Heo
Date: Mon Oct 10 2022 - 20:13:03 EST


On Mon, Oct 10, 2022 at 11:58:44PM +0000, Yosry Ahmed wrote:
> Add cgroup_all_get_from_fd() and cgroup_all_get_from_file() that
> support both cgroup1 and cgroup2.

Looks generally good. How about cgroup_v1v2_ as the prefix?

Thanks.

--
tejun