Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932318Ab0DGAHq (ORCPT ); Tue, 6 Apr 2010 20:07:46 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:55601 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932211Ab0DGAGp (ORCPT ); Tue, 6 Apr 2010 20:06:45 -0400 Date: Tue, 6 Apr 2010 17:05:59 -0700 From: Andrew Morton 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 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> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.9; x86_64-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 List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 738 Lines: 17 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 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/