[lkml]   [2011]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2 05/10] compaction: make isolate_lru_page with filter aware
On 05/29/2011 02:13 PM, Minchan Kim wrote:
> In async mode, compaction doesn't migrate dirty or writeback pages.
> So, it's meaningless to pick the page and re-add it to lru list.
> Of course, when we isolate the page in compaction, the page might
> be dirty or writeback but when we try to migrate the page, the page
> would be not dirty, writeback. So it could be migrated. But it's
> very unlikely as isolate and migration cycle is much faster than
> writeout.
> So, this patch helps cpu and prevent unnecessary LRU churning.
> Reviewed-by: KAMEZAWA Hiroyuki<>
> Reviewed-by: KOSAKI Motohiro<>
> Acked-by: Johannes Weiner<>
> Acked-by: Mel Gorman<>
> Cc: Rik van Riel<>
> Cc: Andrea Arcangeli<>
> Signed-off-by: Minchan Kim<>

ACked-by: Rik van Riel <>

 \ /
  Last update: 2011-06-01 18:05    [W:0.134 / U:2.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site