Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965698Ab3FTUhn (ORCPT ); Thu, 20 Jun 2013 16:37:43 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:46120 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965602Ab3FTUhj (ORCPT ); Thu, 20 Jun 2013 16:37:39 -0400 Date: Thu, 20 Jun 2013 13:37:36 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Mike Galbraith cc: Robin Holt , Alex Thorlton , linux-kernel@vger.kernel.org, Li Zefan , Rob Landley , Andrew Morton , Mel Gorman , Rik van Riel , "Kirill A. Shutemov" , Johannes Weiner , Xiao Guangrong , linux-doc@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH v2] Make transparent hugepages cpuset aware In-Reply-To: <1371697844.5739.29.camel@marge.simpson.net> Message-ID: References: <1370967244-5610-1-git-send-email-athorlton@sgi.com> <20130618164537.GJ16067@sgi.com> <20130619093212.GX3658@sgi.com> <20130620022739.GF3658@sgi.com> <1371697844.5739.29.camel@marge.simpson.net> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1103 Lines: 23 On Thu, 20 Jun 2013, Mike Galbraith wrote: > > I'm suspecting that you're referring to enlarged rss because of > > khugepaged's max_ptes_none and because you're abusing the purpose of > > cpusets for containerization. > > Why is containerization an abuse? What's wrong with renting out chunks > of a big box farm on the fly like a task motel? If a realtime customer > checks in, he's not gonna be thrilled about sharing a room. > We "abused" cpusets for containerization for years, I'm not implying any negative connotation to it, see the Documentation/x86/x86_64/fake-numa-for-cpusets document that I wrote. It doesn't suggest that we should be controlling thp through cpusets; if he's complaining about static binaries where he can't use a malloc hook then why not make it per-process so users don't have to configure cpusets to control it? -- 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/