[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2f11576a0908210419u2feadeaxc40ffda1cd7f6b2d@mail.gmail.com>
Date: Fri, 21 Aug 2009 20:19:02 +0900
From: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
To: Rik van Riel <riel@...hat.com>
Cc: Minchan Kim <minchan.kim@...il.com>, linux-mm <linux-mm@...ck.org>,
lkml <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Wu Fengguang <fengguang.wu@...el.com>,
Lee Schermerhorn <lee.schermerhorn@...com>
Subject: Re: [PATCH] mm: Fix to infinite churning of mlocked page
2009/8/20 Rik van Riel <riel@...hat.com>:
> 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@...el.com>
>> Signed-off-by: Minchan Kim <minchan.kim@...il.com>
>> Cc: KOSAKI Motohiro <<kosaki.motohiro@...fujitsu.com>
>> Cc: Lee Schermerhorn <lee.schermerhorn@...com>
>> Cc: Rik van Riel <riel@...hat.com>
>
> Acked-by: Rik van Riel <riel@...hat.com>
Reviewed-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