Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753225AbdLEROC (ORCPT ); Tue, 5 Dec 2017 12:14:02 -0500 Received: from mail-qt0-f196.google.com ([209.85.216.196]:36232 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753130AbdLEROA (ORCPT ); Tue, 5 Dec 2017 12:14:00 -0500 X-Google-Smtp-Source: AGs4zMagGUHDvcFr0YBe8H0Ii5i7IJdAMXETKnxgNiier1T/CA0G/DsinEZasbWo7DWWIqOo9frgMw== Date: Tue, 5 Dec 2017 09:13:57 -0800 From: Tejun Heo To: "Michael Kerrisk (man-pages)" Cc: lkml , Lennart Poettering Subject: [PATCH cgroup/for-4.15-fixes] cgroup: add warning about RT not being supported on cgroup2 Message-ID: <20171205171357.GU2421075@devbig577.frc2.facebook.com> References: <20171204214710.GM2421075@devbig577.frc2.facebook.com> <8fa060d2-07c7-7306-3d93-781c919f24eb@gmail.com> <20171205160049.GT2421075@devbig577.frc2.facebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Content-Length: 922 Lines: 29 From: Tejun Heo Date: Tue, 5 Dec 2017 09:10:17 -0800 We haven't yet figured out what to do with RT threads on cgroup2. Document the limitation. Signed-off-by: Tejun Heo Reported-by: "Michael Kerrisk (man-pages)" --- Documentation/cgroup-v2.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/cgroup-v2.txt b/Documentation/cgroup-v2.txt index 779211f..55a28f4 100644 --- a/Documentation/cgroup-v2.txt +++ b/Documentation/cgroup-v2.txt @@ -898,6 +898,10 @@ controller implements weight and absolute bandwidth limit models for normal scheduling policy and absolute bandwidth allocation model for realtime scheduling policy. +WARNING: cgroup2 doesn't yet support control of realtime processes and +the cpu controller can only be enabled when all RT processes are in +the root cgroup. + CPU Interface Files ~~~~~~~~~~~~~~~~~~~ -- 2.9.5