Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762412AbXEKUst (ORCPT ); Fri, 11 May 2007 16:48:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758807AbXEKUsn (ORCPT ); Fri, 11 May 2007 16:48:43 -0400 Received: from netops-testserver-4-out.sgi.com ([192.48.171.29]:42453 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757310AbXEKUsn (ORCPT ); Fri, 11 May 2007 16:48:43 -0400 Date: Fri, 11 May 2007 13:48:52 -0700 From: Paul Jackson To: Christoph Lameter Cc: bas.westerbaan@gmail.com, linux-kernel@vger.kernel.org Subject: Re: Conveying memory pressure to userspace? Message-Id: <20070511134852.86b70cd1.pj@sgi.com> In-Reply-To: References: <6880bed30705101756nb5bd0c5s97935b97d07f846a@mail.gmail.com> Organization: SGI X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.3; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 915 Lines: 20 Christoph wrote: > cpusets export a notion of memory pressure to user space. See the cpusets > documentation. If the special cpuset file 'memory_pressure_enabled' is turned on (echo '1' to it) in the top cpuset, then the special cpuset file 'memory_pressure' that is in all cpusets provides a measure of the rate of recent page allocation requests by tasks in each cpuset that were not easily granted off the free list, requiring more aggressive kernel effort to free up some pages to meet the request. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson 1.925.600.0401 - 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/