Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1767695AbXEDFfx (ORCPT ); Fri, 4 May 2007 01:35:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1767691AbXEDFfx (ORCPT ); Fri, 4 May 2007 01:35:53 -0400 Received: from smtp-out.google.com ([216.239.45.13]:5792 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1767695AbXEDFfv (ORCPT ); Fri, 4 May 2007 01:35:51 -0400 DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=received:date:from:x-x-sender:to:cc:subject:in-reply-to: message-id:references:mime-version:content-type; b=frVmzOqyIA0NyKoHhaCZijlIzSlGO2esk8NokNpXbidENDYpuu9ZPtBJ2Epxm4/7l hhOzaEGgkRlSDbtXQ6SwA== Date: Thu, 3 May 2007 22:35:25 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Paul Jackson cc: Ken Chen , linux-kernel@vger.kernel.org, akpm@linux-foundation.org, mm-commits@vger.kernel.org, agl@us.ibm.com, hermes@gibson.dropbear.id.au, wli@holomorphy.com, clameter@sgi.com Subject: Re: + per-cpuset-hugetlb-accounting-and-administration.patch added to -mm tree In-Reply-To: <20070503221206.880b1ec8.pj@sgi.com> Message-ID: References: <200705040104.l4414YFR026322@shell0.pdx.osdl.net> <20070503183821.b75e8f57.pj@sgi.com> <20070503221206.880b1ec8.pj@sgi.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 618 Lines: 16 On Thu, 3 May 2007, Paul Jackson wrote: > 2) adding two new values, by such names as: > > Current_Cpuset_HugePages_Total: 0 > Current_Cpuset_HugePages_Free: 0 > This information is already exported to userspace through sysfs. Simply grab the N-mems allowed to your task from /proc/pid/status, cat /sys/devices/system/node/nodeN/meminfo for each N, and add. - 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/