Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934103AbeAJOrO (ORCPT + 1 other); Wed, 10 Jan 2018 09:47:14 -0500 Received: from mail-qk0-f175.google.com ([209.85.220.175]:37801 "EHLO mail-qk0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934038AbeAJOrM (ORCPT ); Wed, 10 Jan 2018 09:47:12 -0500 X-Google-Smtp-Source: ACJfBovzKUb+V/+JEwRhSkXZlaZldpDw7x506ATqeOQJ7UxXoe14YAXg2l6wZy/Zza59XwKFpEmD4g== Date: Wed, 10 Jan 2018 06:47:08 -0800 From: Tejun Heo To: "Michael Kerrisk (man-pages)" Cc: Peter Zijlstra , cgroups@vger.kernel.org, lkml , linux-man , "Serge E. Hallyn" , Mike Galbraith , Li Zefan , Ingo Molnar , Paul Turner , kernel-team@fb.com, Andy Lutomirski , Johannes Weiner , Lauro Venancio , Waiman Long Subject: Re: cgroups(7): documenting cgroups v2 thread mode 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 Content-Disposition: inline In-Reply-To: <5c9ea5dd-12dc-99d6-7905-40fdbc34e6ae@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: 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