Re: [PATCH] take pageout refcount into account for remove_exclusive_swap_page

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Daisuke Nishimura <nishimura@...>
Cc: Rik van Riel <riel@...>, <akpm@...>, <kosaki.motohiro@...>, <linux-kernel@...>
Date: Thursday, May 15, 2008 - 1:55 pm

On Thu, 2008-05-15 at 11:15 +0900, Daisuke Nishimura wrote:

Well, it's really just an optimization--freeing swap cache entry, if
possible, when mlocking a page.  I'll patch Rik's version to use
page_mapcount() and test heavily before proposing to do this.  I suppose
we can also discuss whether we want a separate version that frees swap
mapped by multiple tasks for the mlock case, and keep Rik's version for
vmscan.  However, I think that if it's safe in the mlock case, it should
be safe for vmscan.  We'll see.

Lee


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH -mm 05/15] free swap space on swap-in/activation, Rik van Riel, (Mon Apr 28, 2:18 pm)
Re: [PATCH -mm 05/15] free swap space on swap-in/activation, Daisuke Nishimura, (Mon May 12, 7:21 am)
Re: [PATCH -mm 05/15] free swap space on swap-in/activation, Daisuke Nishimura, (Tue May 13, 9:00 am)
Re: [PATCH] take pageout refcount into account for remove_ex..., Daisuke Nishimura, (Wed May 14, 10:15 pm)
Re: [PATCH] take pageout refcount into account for remove_ex..., Lee Schermerhorn, (Thu May 15, 1:55 pm)