Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1714290

Re: [PATCH v2 1/2] cgroup: Add a hint to allow v1 controller to use v2 behavior

From Tejun Heo <tj@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2 1/2] cgroup: Add a hint to allow v1 controller to use v2 behavior
Date 2017-08-17 20:50 +0200
Message-ID <ufy1I-iq-9@gated-at.bofh.it> (permalink)
References <ufxIl-bd-5@gated-at.bofh.it> <ufxIl-bd-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hello, Waiman.

On Thu, Aug 17, 2017 at 02:25:38PM -0400, Waiman Long wrote:
> For some cgroup controllers, the behavior on cgroup v1 differs somewhat
> from cgroup v2. To indicate that a controller can use v2 behavior
> in cgroup v1, a new cgroupfs mount option "v2_mode" is added. This
> is essentially a hint, there is no obligation for a controller to
> comply with this semantics.

Heh, I don't think we can make it a generic flag.  We can't have one
kernel interpreting the option one way and later kernels doing
differently.  Let's just make it cpuset specific - something like
cpuset_v2_mode.

Thanks.

-- 
tejun

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 1/2] cgroup: Add a hint to allow v1 controller to use v2 behavior Waiman Long <longman@redhat.com> - 2017-08-17 20:30 +0200
  Re: [PATCH v2 1/2] cgroup: Add a hint to allow v1 controller to use  v2 behavior Tejun Heo <tj@kernel.org> - 2017-08-17 20:50 +0200
    Re: [PATCH v2 1/2] cgroup: Add a hint to allow v1 controller to use  v2 behavior Waiman Long <longman@redhat.com> - 2017-08-17 21:00 +0200

csiph-web