lkml.org 
[lkml]   [2010]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 05/10] vmscan: Synchrounous lumpy reclaim use lock_page() instead trylock_page()
On Thu, 9 Sep 2010 12:04:48 +0900
KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote:

> On Mon, 6 Sep 2010 11:47:28 +0100
> Mel Gorman <mel@csn.ul.ie> wrote:
>
> > From: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
> >
> > With synchrounous lumpy reclaim, there is no reason to give up to reclaim
> > pages even if page is locked. This patch uses lock_page() instead of
> > trylock_page() in this case.
> >
> > Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
> > Signed-off-by: Mel Gorman <mel@csn.ul.ie>
>
> Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
>
Ah......but can't this change cause dead lock ??

Thanks,
-Kame



\
 
 \ /
  Last update: 2010-09-09 05:23    [W:0.133 / U:47.612 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site