From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755125Ab2DNL2l (ORCPT ); Sat, 14 Apr 2012 07:28:41 -0400 Received: from merlin.infradead.org ([205.233.59.134]:43578 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751011Ab2DNL2k convert rfc822-to-8bit (ORCPT ); Sat, 14 Apr 2012 07:28:40 -0400 Message-ID: <1334402900.2528.69.camel@twins> Subject: Re: [patch 0/2] cpusets, cpu_cgroup: disallow attaching kthreadd From: Peter Zijlstra To: David Rientjes Cc: Tejun Heo , Mike Galbraith , Andrew Morton , Ingo Molnar , Paul Menage , LKML , Li Zefan Date: Sat, 14 Apr 2012 13:28:20 +0200 In-Reply-To: References: <20120405160829.GA12854@google.com> <20120405213704.GA29517@google.com> <20120405222400.GC29517@google.com> <20120405225854.GE29517@google.com> <20120405231306.GF29517@google.com> <20120406155203.GA4798@dhcp-172-17-108-109.mtv.corp.google.com> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Mailer: Evolution 3.2.2- Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2012-04-06 at 13:46 -0700, David Rientjes wrote: > That doesn't work, the kmem extension to memcg does not allow slab to be > properly accounted to threads in the root memcg. From > Documentation/cgroups/memory.txt section 2.7: > > "Kernel memory limits are not imposed for the root cgroup. Usage for the > root cgroup may or may not be accounted." To me that reads like: kmem/memcg is broken.