From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-121557-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1Q9J3G-0003tj-EQ
	for garchives@archives.gentoo.org; Mon, 11 Apr 2011 15:29:19 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 0612B1C048;
	Mon, 11 Apr 2011 15:27:52 +0000 (UTC)
Received: from mail-px0-f179.google.com (mail-px0-f179.google.com [209.85.212.179])
	by pigeon.gentoo.org (Postfix) with ESMTP id B710F1C048
	for <gentoo-user@lists.gentoo.org>; Mon, 11 Apr 2011 15:27:52 +0000 (UTC)
Received: by pxi2 with SMTP id 2so3047181pxi.10
        for <gentoo-user@lists.gentoo.org>; Mon, 11 Apr 2011 08:27:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:message-id:date:from:user-agent:mime-version:to
         :subject:references:in-reply-to:x-enigmail-version:content-type
         :content-transfer-encoding;
        bh=OdfTwnRGucvQKe7o5H0mjjyZaVKLlNvN4PRz45RrSu8=;
        b=bG/4lAT3IyJcV08OjJsnCFP2gaP4cHdbLlM0NI02dG9K1Jn5eSwirBAGY3nVceZQPP
         lNxbBx4m35hETYyqn07Cl3BsGO6KynXyeRwQUXJYqwPdv5PpxFmKBVDMblAkhn89YDUs
         8kzc4SRmqq3FbUGXPR/3KZZjZk6uyK9jpXXZE=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:user-agent:mime-version:to:subject:references
         :in-reply-to:x-enigmail-version:content-type
         :content-transfer-encoding;
        b=TyjrZGzgdXOLeGrmEhqCxly71mfxZWU5D5riJ4C5bIehELbXd8OPNJ/wxXW8qyD5Z6
         SIdtwUzgySHdTAeEXMSWJq7BSEZQbmFAO2q9H3p08fWZL9xlzsxPgadLocWgjL3l+M4p
         ODNZdPa6RrhYxKdUPPBDUR22zel7pBsrfCofs=
Received: by 10.142.12.16 with SMTP id 16mr5061863wfl.253.1302535671761;
        Mon, 11 Apr 2011 08:27:51 -0700 (PDT)
Received: from [192.168.25.20] (173-8-195-225-Oregon.hfc.comcastbusiness.net [173.8.195.225])
        by mx.google.com with ESMTPS id n4sm8401414wfl.2.2011.04.11.08.27.48
        (version=SSLv3 cipher=OTHER);
        Mon, 11 Apr 2011 08:27:48 -0700 (PDT)
Message-ID: <4DA31DEC.3030307@gmail.com>
Date: Mon, 11 Apr 2011 08:27:40 -0700
From: Bill Longman <bill.longman@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110326 Lightning/1.0b3pre Lanikai/3.1.9
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] are cgroups automatic ?
References: <20110411151346.GE3775@ca.inter.net>
In-Reply-To: <20110411151346.GE3775@ca.inter.net>
X-Enigmail-Version: 1.1.2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Archives-Salt: 
X-Archives-Hash: 719b8c515dbc2826908cf5a5a4dff7f9

On 04/11/2011 08:13 AM, Philip Webb wrote:
> I have enabled cgroups in kernel 2.6.38 , but am not sure how they work.
> There's nothing in the docs in  /usr/src/linux
> & a search via 'make menuconfig' shows nothing suggestive.
> Does the kernel automatically set them up once they're enabled
> or does the user have to do something to define them ? -- anyone know ?
> 

Are you sure there's no documentation?

/usr/src/linux/Documentation
$ grep -il cgroup */*.txt
accounting/cgroupstats.txt
block/cfq-iosched.txt
cgroups/blkio-controller.txt
cgroups/cgroups.txt
cgroups/cpuacct.txt
cgroups/cpusets.txt
cgroups/devices.txt
cgroups/freezer-subsystem.txt
cgroups/memcg_test.txt
cgroups/memory.txt
cgroups/resource_counter.txt
filesystems/tmpfs.txt
scheduler/sched-design-CFS.txt
scheduler/sched-rt-group.txt
sysctl/vm.txt
vm/hwpoison.txt
vm/numa_memory_policy.txt
vm/unevictable-lru.txt