RE: Questin about swap_slot free and invalidate page

2013-02-25 Thread Dan Magenheimer
> From: Ric Mason [mailto:ric.mas...@gmail.com] > Subject: Re: Questin about swap_slot free and invalidate page > > On 02/22/2013 05:42 AM, Dan Magenheimer wrote: > >> From: Ric Mason [mailto:ric.mas...@gmail.com] > >> Subject: Re: Questin about swap_slot free and i

RE: Questin about swap_slot free and invalidate page

2013-02-25 Thread Dan Magenheimer
From: Ric Mason [mailto:ric.mas...@gmail.com] Subject: Re: Questin about swap_slot free and invalidate page On 02/22/2013 05:42 AM, Dan Magenheimer wrote: From: Ric Mason [mailto:ric.mas...@gmail.com] Subject: Re: Questin about swap_slot free and invalidate page On 02/19/2013 11:27 PM

Re: Questin about swap_slot free and invalidate page

2013-02-21 Thread Ric Mason
On 02/22/2013 05:42 AM, Dan Magenheimer wrote: From: Ric Mason [mailto:ric.mas...@gmail.com] Subject: Re: Questin about swap_slot free and invalidate page On 02/19/2013 11:27 PM, Dan Magenheimer wrote: From: Ric Mason [mailto:ric.mas...@gmail.com] Hugh is right that handling the possibility

RE: Questin about swap_slot free and invalidate page

2013-02-21 Thread Dan Magenheimer
> From: Ric Mason [mailto:ric.mas...@gmail.com] > Subject: Re: Questin about swap_slot free and invalidate page > > On 02/19/2013 11:27 PM, Dan Magenheimer wrote: > >> From: Ric Mason [mailto:ric.mas...@gmail.com] > >>> Hugh is right that handling the possib

RE: Questin about swap_slot free and invalidate page

2013-02-21 Thread Dan Magenheimer
From: Ric Mason [mailto:ric.mas...@gmail.com] Subject: Re: Questin about swap_slot free and invalidate page On 02/19/2013 11:27 PM, Dan Magenheimer wrote: From: Ric Mason [mailto:ric.mas...@gmail.com] Hugh is right that handling the possibility of duplicates is part of the tmem ABI

Re: Questin about swap_slot free and invalidate page

2013-02-21 Thread Ric Mason
On 02/22/2013 05:42 AM, Dan Magenheimer wrote: From: Ric Mason [mailto:ric.mas...@gmail.com] Subject: Re: Questin about swap_slot free and invalidate page On 02/19/2013 11:27 PM, Dan Magenheimer wrote: From: Ric Mason [mailto:ric.mas...@gmail.com] Hugh is right that handling the possibility

Re: Questin about swap_slot free and invalidate page

2013-02-19 Thread Ric Mason
Morton Subject: Re: Questin about swap_slot free and invalidate page On 02/05/2013 05:28 AM, Dan Magenheimer wrote: From: Minchan Kim [mailto:minc...@kernel.org] Sent: Sunday, February 03, 2013 7:50 PM To: Hugh Dickins Cc: Nitin Gupta; Dan Magenheimer; Seth Jennings; Konrad Rzeszutek Wilk; linux

RE: Questin about swap_slot free and invalidate page

2013-02-19 Thread Dan Magenheimer
Magenheimer; Seth Jennings; Konrad Rzeszutek Wilk; > >> linux...@kvack.org; linux- > >> ker...@vger.kernel.org; Andrew Morton > >> Subject: Re: Questin about swap_slot free and invalidate page > >> > >> Hi Hugh, > >> > >> On Sun, Feb 03, 201

Re: Questin about swap_slot free and invalidate page

2013-02-19 Thread Ric Mason
: Re: Questin about swap_slot free and invalidate page Hi Hugh, On Sun, Feb 03, 2013 at 05:51:14PM -0800, Hugh Dickins wrote: On Thu, 31 Jan 2013, Minchan Kim wrote: When I reviewed zswap, I was curious about frontswap_store. It said following as. * If frontswap already contains a page

Re: Questin about swap_slot free and invalidate page

2013-02-19 Thread Ric Mason
: Re: Questin about swap_slot free and invalidate page Hi Hugh, On Sun, Feb 03, 2013 at 05:51:14PM -0800, Hugh Dickins wrote: On Thu, 31 Jan 2013, Minchan Kim wrote: When I reviewed zswap, I was curious about frontswap_store. It said following as. * If frontswap already contains a page

RE: Questin about swap_slot free and invalidate page

2013-02-19 Thread Dan Magenheimer
...@vger.kernel.org; Andrew Morton Subject: Re: Questin about swap_slot free and invalidate page Hi Hugh, On Sun, Feb 03, 2013 at 05:51:14PM -0800, Hugh Dickins wrote: On Thu, 31 Jan 2013, Minchan Kim wrote: When I reviewed zswap, I was curious about frontswap_store. It said following

Re: Questin about swap_slot free and invalidate page

2013-02-19 Thread Ric Mason
Morton Subject: Re: Questin about swap_slot free and invalidate page On 02/05/2013 05:28 AM, Dan Magenheimer wrote: From: Minchan Kim [mailto:minc...@kernel.org] Sent: Sunday, February 03, 2013 7:50 PM To: Hugh Dickins Cc: Nitin Gupta; Dan Magenheimer; Seth Jennings; Konrad Rzeszutek Wilk; linux

Re: Questin about swap_slot free and invalidate page

2013-02-04 Thread Minchan Kim
x...@kvack.org; linux- > > ker...@vger.kernel.org; Andrew Morton > > Subject: Re: Questin about swap_slot free and invalidate page > > > > Hi Hugh, > > > > On Sun, Feb 03, 2013 at 05:51:14PM -0800, Hugh Dickins wrote: > > > On Thu, 31 Jan 2013,

RE: Questin about swap_slot free and invalidate page

2013-02-04 Thread Dan Magenheimer
> From: Minchan Kim [mailto:minc...@kernel.org] > Sent: Sunday, February 03, 2013 7:50 PM > To: Hugh Dickins > Cc: Nitin Gupta; Dan Magenheimer; Seth Jennings; Konrad Rzeszutek Wilk; > linux...@kvack.org; linux- > ker...@vger.kernel.org; Andrew Morton > Subject: Re: Questin

RE: Questin about swap_slot free and invalidate page

2013-02-04 Thread Dan Magenheimer
From: Minchan Kim [mailto:minc...@kernel.org] Sent: Sunday, February 03, 2013 7:50 PM To: Hugh Dickins Cc: Nitin Gupta; Dan Magenheimer; Seth Jennings; Konrad Rzeszutek Wilk; linux...@kvack.org; linux- ker...@vger.kernel.org; Andrew Morton Subject: Re: Questin about swap_slot free

Re: Questin about swap_slot free and invalidate page

2013-02-04 Thread Minchan Kim
...@vger.kernel.org; Andrew Morton Subject: Re: Questin about swap_slot free and invalidate page Hi Hugh, On Sun, Feb 03, 2013 at 05:51:14PM -0800, Hugh Dickins wrote: On Thu, 31 Jan 2013, Minchan Kim wrote: When I reviewed zswap, I was curious about frontswap_store. It said following

Re: Questin about swap_slot free and invalidate page

2013-02-03 Thread Minchan Kim
Hi Hugh, On Sun, Feb 03, 2013 at 05:51:14PM -0800, Hugh Dickins wrote: > On Thu, 31 Jan 2013, Minchan Kim wrote: > > > When I reviewed zswap, I was curious about frontswap_store. > > It said following as. > > > > * If frontswap already contains a page with matching swaptype and > > * offset,

Re: Questin about swap_slot free and invalidate page

2013-02-03 Thread Hugh Dickins
On Thu, 31 Jan 2013, Minchan Kim wrote: > When I reviewed zswap, I was curious about frontswap_store. > It said following as. > > * If frontswap already contains a page with matching swaptype and > * offset, the frontswap implementation may either overwrite the data and > * return success or

Re: Questin about swap_slot free and invalidate page

2013-02-03 Thread Hugh Dickins
On Thu, 31 Jan 2013, Minchan Kim wrote: When I reviewed zswap, I was curious about frontswap_store. It said following as. * If frontswap already contains a page with matching swaptype and * offset, the frontswap implementation may either overwrite the data and * return success or

Re: Questin about swap_slot free and invalidate page

2013-02-03 Thread Minchan Kim
Hi Hugh, On Sun, Feb 03, 2013 at 05:51:14PM -0800, Hugh Dickins wrote: On Thu, 31 Jan 2013, Minchan Kim wrote: When I reviewed zswap, I was curious about frontswap_store. It said following as. * If frontswap already contains a page with matching swaptype and * offset, the

Questin about swap_slot free and invalidate page

2013-01-30 Thread Minchan Kim
When I reviewed zswap, I was curious about frontswap_store. It said following as. * If frontswap already contains a page with matching swaptype and * offset, the frontswap implementation may either overwrite the data and * return success or invalidate the page from frontswap and return

Questin about swap_slot free and invalidate page

2013-01-30 Thread Minchan Kim
When I reviewed zswap, I was curious about frontswap_store. It said following as. * If frontswap already contains a page with matching swaptype and * offset, the frontswap implementation may either overwrite the data and * return success or invalidate the page from frontswap and return