From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx176.postini.com [74.125.245.176]) by kanga.kvack.org (Postfix) with SMTP id 0B11E6B0044 for ; Thu, 12 Apr 2012 01:49:26 -0400 (EDT) Date: Thu, 12 Apr 2012 06:49:23 +0100 From: Mel Gorman Subject: Re: [PATCH 0/3] Removal of lumpy reclaim V2 Message-ID: <20120412054923.GL3789@suse.de> References: <1334162298-18942-1-git-send-email-mgorman@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: owner-linux-mm@kvack.org List-ID: To: Ying Han Cc: Andrew Morton , Rik van Riel , Konstantin Khlebnikov , Hugh Dickins , Linux-MM , LKML On Wed, Apr 11, 2012 at 04:37:00PM -0700, Ying Han wrote: > > In 3.2, kswapd was doing a bunch of async writes of pages but > > reclaim/compaction was never reaching a point where it was doing sync > > IO. This does not guarantee that reclaim/compaction was not calling > > wait_on_page_writeback() but I would consider it unlikely. It indicates > > that merging patches 2 and 3 to stop reclaim/compaction calling > > wait_on_page_writeback() should be safe. > > > > include/trace/events/vmscan.h | 40 ++----- > > mm/vmscan.c | 263 ++++------------------------------------- > > 2 files changed, 37 insertions(+), 266 deletions(-) > > > > -- > > 1.7.9.2 > > > > It might be a naive question, what we do w/ users with the following > in the .config file? > > # CONFIG_COMPACTION is not set > After lumpy reclaim is removed page reclaim will be reclaiming at order-0 randomly to see if that frees up a high-order page randomly. It remains to be seen how many users really depended on lumpy reclaim like this and as to why they were not using compaction. Two configurations that may care are NOMMU and SLUB. NOMMU may not notice as they were already unable to handle anonymous pages in lumpy reclaim. SLUB will fallback to using order-0 pages. -- Mel Gorman SUSE Labs -- 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org