Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752666AbbKPWiF (ORCPT ); Mon, 16 Nov 2015 17:38:05 -0500 Received: from mail-yk0-f195.google.com ([209.85.160.195]:34625 "EHLO mail-yk0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751172AbbKPWiD (ORCPT ); Mon, 16 Nov 2015 17:38:03 -0500 Date: Mon, 16 Nov 2015 17:37:58 -0500 From: Tejun Heo To: "Eric W. Biederman" Cc: "Serge E. Hallyn" , Richard Weinberger , Richard Weinberger , LKML , "open list:ABI/API" , Linux Containers , LXC development mailing-list , cgroups mailinglist , Andrew Morton Subject: Re: CGroup Namespaces (v4) Message-ID: <20151116223758.GM18894@mtj.duckdns.org> References: <1447703505-29672-1-git-send-email-serge@hallyn.com> <20151116204606.GA30681@mail.hallyn.com> <564A41AF.4040208@nod.at> <20151116205452.GA30975@mail.hallyn.com> <87y4dxh9b8.fsf@x220.int.ebiederm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87y4dxh9b8.fsf@x220.int.ebiederm.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 892 Lines: 22 Hello, Eric. On Mon, Nov 16, 2015 at 04:24:27PM -0600, Eric W. Biederman wrote: > Does this allow mixing of cgroupfs and cgroupfs2? That is can I: "mount > -t cgroupfs" inside a container and "mount -t cgroupfs2" outside a > container? and still have reasonable things happen? I suspect the > semantics of cgroups prevent this but I am interested to know what happens. cgroup v1 and v2 are just separate hierarchies. They can't nest each other but co-existing and namespacing on their own is completely fine. The caveat is that a given controller can be on only one hierarchy but that's the same among v1 hierarchies too. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/