Re: [PATCH 0/8] Use memory compaction instead of lumpy reclaim during high-order allocations

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mel Gorman
Date: Friday, November 19, 2010 - 3:48 am

On Thu, Nov 18, 2010 at 11:49:28AM -0800, Andrew Morton wrote:

At least as long as !CONFIG_COMPACTION exists. That will be a while because
bear in mind CONFIG_COMPACTION is disabled by default (although I believe
some distros are enabling it at least). Maybe we should choose to deprecate
it in 2.6.40 and delete it at the infamous time of 2.6.42? That would give
ample time to iron out any issues that crop up with reclaim/compaction
(what this series has turned into).

Bear in mind that lumpy reclaim is heavily isolated these days. The logic
is almost entirely contained in isolate_lru_pages() in the block starting
with the comment "Attempt to take all pages in the order aligned region
surrounding the tag page". As disruptive as lumpy reclaim is, it's basically
just a linear scanner at the end of the day and there are a few examples of
that in the kernel. If we break it, it'll be obvious.


I'm open to its ultimate deletion but think it's rash to do on day 1 of
reclaim/compaction. I do recognise that I might be entirely on my own with
this opinion though :)

-- 
Mel Gorman
Part-time Phd Student                          Linux Technology Center
University of Limerick                         IBM Dublin Software Lab
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 0/8] Use memory compaction instead of lumpy rec ..., KAMEZAWA Hiroyuki, (Thu Nov 18, 1:26 am)
Re: [PATCH 7/8] mm: compaction: Use the LRU to get a hint ..., KAMEZAWA Hiroyuki, (Thu Nov 18, 2:10 am)
Re: [PATCH 3/8] mm: vmscan: Reclaim order-0 and use compac ..., Andrea Arcangeli, (Thu Nov 18, 11:09 am)
Re: [PATCH 4/8] mm: migration: Allow migration to operate ..., Andrea Arcangeli, (Thu Nov 18, 11:21 am)
Re: [PATCH 6/8] mm: compaction: Perform a faster scan in t ..., Andrea Arcangeli, (Thu Nov 18, 11:34 am)
Re: [PATCH 7/8] mm: compaction: Use the LRU to get a hint ..., Andrea Arcangeli, (Thu Nov 18, 11:46 am)
Re: [PATCH 4/8] mm: migration: Allow migration to operate ..., Andrea Arcangeli, (Thu Nov 18, 12:00 pm)
Re: [PATCH 6/8] mm: compaction: Perform a faster scan in t ..., Andrea Arcangeli, (Thu Nov 18, 12:08 pm)
Re: [PATCH 0/8] Use memory compaction instead of lumpy rec ..., Mel Gorman, (Fri Nov 19, 3:48 am)