lkml.org 
[lkml]   [2009]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mm: Fix to infinite churning of mlocked page
Minchan Kim wrote:
> Mlocked page might lost the isolatation race.
> It cause the page to clear PG_mlocked while it remains
> in VM_LOCKED vma. It means it can be put [in]active list.
> We can rescue it by try_to_unmap in shrink_page_list.
>
> But now, As Wu Fengguang pointed out, vmscan have a bug.
> If the page has PG_referenced, it can't reach try_to_unmap
> in shrink_page_list but put into active list. If the page
> is referenced repeatedly, it can remain [in]active list
> without moving unevictable list.
>
> This patch can fix it.
>
> Reported-by: Wu Fengguang <fengguang.wu@intel.com>
> Signed-off-by: Minchan Kim <minchan.kim@gmail.com>
> Cc: KOSAKI Motohiro <<kosaki.motohiro@jp.fujitsu.com>
> Cc: Lee Schermerhorn <lee.schermerhorn@hp.com>
> Cc: Rik van Riel <riel@redhat.com>

Acked-by: Rik van Riel <riel@redhat.com>

--
All rights reversed.


\
 
 \ /
  Last update: 2009-08-20 03:21    [W:0.042 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site