From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail190.messagelabs.com (mail190.messagelabs.com [216.82.249.51]) by kanga.kvack.org (Postfix) with ESMTP id 4452562007E for ; Tue, 6 Apr 2010 20:06:30 -0400 (EDT) Date: Tue, 6 Apr 2010 17:05:59 -0700 From: Andrew Morton Subject: Re: [PATCH 10/14] Add /sys trigger for per-node memory compaction Message-Id: <20100406170559.52093bd5.akpm@linux-foundation.org> In-Reply-To: <1270224168-14775-11-git-send-email-mel@csn.ul.ie> References: <1270224168-14775-1-git-send-email-mel@csn.ul.ie> <1270224168-14775-11-git-send-email-mel@csn.ul.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: Mel Gorman Cc: Andrea Arcangeli , Christoph Lameter , Adam Litke , Avi Kivity , David Rientjes , Minchan Kim , KAMEZAWA Hiroyuki , KOSAKI Motohiro , Rik van Riel , linux-kernel@vger.kernel.org, linux-mm@kvack.org List-ID: On Fri, 2 Apr 2010 17:02:44 +0100 Mel Gorman wrote: > This patch adds a per-node sysfs file called compact. When the file is > written to, each zone in that node is compacted. The intention that this > would be used by something like a job scheduler in a batch system before > a job starts so that the job can allocate the maximum number of > hugepages without significant start-up cost. Would it make more sense if this was a per-memcg thing rather than a per-node thing? -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org