[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHGf_=pUvc33SNHeBMsOrhacRVnoxJgYwZvnAG9TqxOLEU3J5w@mail.gmail.com>
Date: Wed, 11 Apr 2012 14:51:19 -0400
From: KOSAKI Motohiro <kosaki.motohiro@...il.com>
To: Rik van Riel <riel@...hat.com>
Cc: Mel Gorman <mgorman@...e.de>,
Andrew Morton <akpm@...ux-foundation.org>,
Konstantin Khlebnikov <khlebnikov@...nvz.org>,
Hugh Dickins <hughd@...gle.com>, Ying Han <yinghan@...gle.com>,
Linux-MM <linux-mm@...ck.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/3] mm: vmscan: Do not stall on writeback during memory compaction
On Wed, Apr 11, 2012 at 1:26 PM, Rik van Riel <riel@...hat.com> wrote:
> On 04/11/2012 12:38 PM, Mel Gorman wrote:
>>
>> This patch stops reclaim/compaction entering sync reclaim as this was only
>> intended for lumpy reclaim and an oversight. Page migration has its own
>> logic for stalling on writeback pages if necessary and memory compaction
>> is already using it.
>>
>> Waiting on page writeback is bad for a number of reasons but the primary
>> one is that waiting on writeback to a slow device like USB can take a
>> considerable length of time. Page reclaim instead uses
>> wait_iff_congested()
>> to throttle if too many dirty pages are being scanned.
>>
>> Signed-off-by: Mel Gorman<mgorman@...e.de>
>
>
> Acked-by: Rik van Riel <riel@...hat.com>
Acked-by: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists