Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752059Ab0GVXI2 (ORCPT ); Thu, 22 Jul 2010 19:08:28 -0400 Received: from mail-iw0-f174.google.com ([209.85.214.174]:49480 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751412Ab0GVXI1 convert rfc822-to-8bit (ORCPT ); Thu, 22 Jul 2010 19:08:27 -0400 MIME-Version: 1.0 In-Reply-To: <20100722211856.GA1297@suse.de> References: <20100722182638.GA12712@kroah.com> <20100722183614.GA5443@suse.de> <20100722193741.GA2688@redhat.com> <20100722211856.GA1297@suse.de> From: Kay Sievers Date: Fri, 23 Jul 2010 01:08:12 +0200 Message-ID: Subject: Re: [PATCH] cgroupfs: create /sys/fs/cgroup to mount cgroupfs on To: Greg KH Cc: Vivek Goyal , Paul Menage , Li Zefan , Lennart Poettering , Andrew Morton , KAMEZAWA Hiroyuki , Ben Blum , containers@lists.linux-foundation.org, linux-kernel@vger.kernel.org, "Daniel P. Berrange" , Jan Safranek , Balbir Singh Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 970 Lines: 24 On Thu, Jul 22, 2010 at 23:18, Greg KH wrote: >> For my testing I now always use /cgroup/ and create directories under it >> /cgroup/blkio /cgroup/cpu etc and mount controllers on respective >> directories. > > Lennart and Kay, is this what systemd is doing?  I really don't think we > should be adding a root /cgroup/ mount point to the system for something > like this. Already solved. Systemd always mounts an empty tmpfs at the 'cgroup' mountpoint, and stuff is free to create subdirs there. Systemd itself mount 'systemd' there. I guess that covers all needs expressed here, and we are happy to switch systemd over from /cgroup to /sys/fs/cgroup as soon as the kernel carries the patch. Thanks, Kay -- 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/