From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: cgroups(7): documenting cgroups v2 thread mode Date: Wed, 10 Jan 2018 06:47:08 -0800 Message-ID: <20180110144708.GC3668920@devbig577.frc2.facebook.com> References: <20180109211000.GT3668920@devbig577.frc2.facebook.com> <5c9ea5dd-12dc-99d6-7905-40fdbc34e6ae@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <5c9ea5dd-12dc-99d6-7905-40fdbc34e6ae-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "Michael Kerrisk (man-pages)" Cc: Peter Zijlstra , cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, lkml , linux-man , "Serge E. Hallyn" , Mike Galbraith , Li Zefan , Ingo Molnar , Paul Turner , kernel-team-b10kYP2dOMg@public.gmane.org, Andy Lutomirski , Johannes Weiner , Lauro Venancio , Waiman Long List-Id: linux-man@vger.kernel.org Hello, On Tue, Jan 09, 2018 at 11:54:03PM +0100, Michael Kerrisk (man-pages) wrote: > One more thing. I added the following sentence to the text: > > The cgroup.threads file is writable only for the cgroups inside a > threaded subtree. > > Can you confirm that that is correct, please. The only extra restriction is that the domain cgroup must be the same for the source and destination, which is true for the entire threaded subtree (the threaded domain). As each domain cgroup is its own unique domain, cgroup.threads in them would only allow migrating to self which is a noop; otherwise, it'd return -EOPNOTSUPP. Thanks. -- tejun