[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20171106200231.GF3252168@devbig577.frc2.facebook.com>
Date: Mon, 6 Nov 2017 12:02:31 -0800
From: Tejun Heo <tj@...nel.org>
To: Roman Gushchin <guro@...com>
Cc: linux-kernel@...r.kernel.org, kernel-team@...com,
cgroups@...r.kernel.org
Subject: Re: [PATCH v2 2/2] cgroup: export list of cgroups v2 features using
sysfs
On Mon, Nov 06, 2017 at 01:30:29PM -0500, Roman Gushchin wrote:
> The active development of cgroups v2 sometimes leads to a creation
> of interfaces, which are not turned on by default (to provide
> backward compatibility). It's handy to know from userspace, which
> cgroup v2 features are supported without calculating it based
> on the kernel version. So, let's export the list of such features
> using /sys/kernel/cgroup/features pseudo-file.
>
> The list is hardcoded and has to be extended when new functionality
> is added. Each feature is printed on a new line.
>
> Example:
> $ cat /sys/kernel/cgroup/features
> nsdelegate
>
> Signed-off-by: Roman Gushchin <guro@...com>
> Cc: Tejun Heo <tj@...nel.org>
> Cc: kernel-team@...com
Applied 1-2 to cgroup/for-4.15.
Thanks.
--
tejun
Powered by blists - more mailing lists