lkml.org 
[lkml]   [2012]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/3] Removal of lumpy reclaim V2
On 04/11/2012 01:52 PM, Mel Gorman wrote:
> On Wed, Apr 11, 2012 at 01:17:02PM -0400, Rik van Riel wrote:

>> Next step: get rid of __GFP_NO_KSWAPD for THP, first
>> in the -mm kernel
>>
>
> Initially the flag was introduced because kswapd reclaimed too
> aggressively. One would like to believe that it would be less of a problem
> now but we must avoid a situation where the CPU and reclaim cost of kswapd
> exceeds the benefit of allocating a THP.

Since kswapd and the direct reclaim code now use
the same conditionals for calling compaction,
the cost ought to be identical.

I agree this is something we should shake out
in -mm for a while though, before considering a
mainline merge.

Andrew, would you be willing to take a removal
of __GFP_NO_KSWAPD in -mm, and push it to Linus
for the 3.6 kernel if no ill effects are seen
in -mm and -next?


\
 
 \ /
  Last update: 2012-04-11 20:59    [W:0.070 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site