Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755091Ab0KIK1o (ORCPT ); Tue, 9 Nov 2010 05:27:44 -0500 Received: from fgwmail5.fujitsu.co.jp ([192.51.44.35]:47389 "EHLO fgwmail5.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754252Ab0KIK1m (ORCPT ); Tue, 9 Nov 2010 05:27:42 -0500 X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 From: KOSAKI Motohiro To: Andrea Arcangeli Subject: Re: [PATCH 61 of 66] use compaction for GFP_ATOMIC order > 0 Cc: kosaki.motohiro@jp.fujitsu.com, linux-mm@kvack.org, Linus Torvalds , Andrew Morton , linux-kernel@vger.kernel.org, Marcelo Tosatti , Adam Litke , Avi Kivity , Hugh Dickins , Rik van Riel , Mel Gorman , Dave Hansen , Benjamin Herrenschmidt , Ingo Molnar , Mike Travis , KAMEZAWA Hiroyuki , Christoph Lameter , Chris Wright , bpicco@redhat.com, Balbir Singh , "Michael S. Tsirkin" , Peter Zijlstra , Johannes Weiner , Daisuke Nishimura , Chris Mason , Borislav Petkov In-Reply-To: References: Message-Id: <20101109151440.BC75.A69D9226@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.50.07 [ja] Date: Tue, 9 Nov 2010 19:27:37 +0900 (JST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1037 Lines: 28 > From: Andrea Arcangeli > > This takes advantage of memory compaction to properly generate pages of order > > 0 if regular page reclaim fails and priority level becomes more severe and we > don't reach the proper watermarks. > > Signed-off-by: Andrea Arcangeli First, I don't think this patch is related to GFP_ATOMIC. So, I think the patch title is a bit misleading. Second, this patch has two changes. 1) remove PAGE_ALLOC_COSTLY_ORDER threshold 2) implement background compaction. please separate them. Third, This patch makes a lot of PFN order page scan and churn LRU aggressively. I'm not sure this aggressive lru shuffling is safe and works effective. I hope you provide some demonstration and/or show benchmark result. Thanks. -- 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/