Re: [PATCH 3/4] mm: zswap: add supporting for zsmalloc

2013-08-19 Thread Bob Liu
On 08/20/2013 12:59 AM, Seth Jennings wrote: > On Sun, Aug 18, 2013 at 04:40:48PM +0800, Bob Liu wrote: >> Make zswap can use zsmalloc as its allocater. >> But note that zsmalloc don't reclaim any zswap pool pages mandatory, if zswap >> pool gets full, frontswap_store will be refused unless

Re: [PATCH 3/4] mm: zswap: add supporting for zsmalloc

2013-08-19 Thread Seth Jennings
On Sun, Aug 18, 2013 at 04:40:48PM +0800, Bob Liu wrote: > Make zswap can use zsmalloc as its allocater. > But note that zsmalloc don't reclaim any zswap pool pages mandatory, if zswap > pool gets full, frontswap_store will be refused unless frontswap_get happened > and freed some space. > > The

Re: [PATCH 3/4] mm: zswap: add supporting for zsmalloc

2013-08-19 Thread Seth Jennings
On Sun, Aug 18, 2013 at 04:40:48PM +0800, Bob Liu wrote: Make zswap can use zsmalloc as its allocater. But note that zsmalloc don't reclaim any zswap pool pages mandatory, if zswap pool gets full, frontswap_store will be refused unless frontswap_get happened and freed some space. The reason

Re: [PATCH 3/4] mm: zswap: add supporting for zsmalloc

2013-08-19 Thread Bob Liu
On 08/20/2013 12:59 AM, Seth Jennings wrote: On Sun, Aug 18, 2013 at 04:40:48PM +0800, Bob Liu wrote: Make zswap can use zsmalloc as its allocater. But note that zsmalloc don't reclaim any zswap pool pages mandatory, if zswap pool gets full, frontswap_store will be refused unless

[PATCH 3/4] mm: zswap: add supporting for zsmalloc

2013-08-18 Thread Bob Liu
Make zswap can use zsmalloc as its allocater. But note that zsmalloc don't reclaim any zswap pool pages mandatory, if zswap pool gets full, frontswap_store will be refused unless frontswap_get happened and freed some space. The reason of don't implement reclaiming zsmalloc pages from zswap pool

[PATCH 3/4] mm: zswap: add supporting for zsmalloc

2013-08-18 Thread Bob Liu
Make zswap can use zsmalloc as its allocater. But note that zsmalloc don't reclaim any zswap pool pages mandatory, if zswap pool gets full, frontswap_store will be refused unless frontswap_get happened and freed some space. The reason of don't implement reclaiming zsmalloc pages from zswap pool