Re: [PATCH 0/4] mm: merge zram into zswap

2013-08-18 Thread Bob Liu
Hi Minchan, On 08/19/2013 12:10 PM, Minchan Kim wrote: > On Sun, Aug 18, 2013 at 04:40:45PM +0800, Bob Liu wrote: >> Both zswap and zram are used to compress anon pages in memory so as to reduce >> swap io operation. The main different is that zswap uses zbud as its >> allocator >> while zram use

Re: [PATCH 0/4] mm: merge zram into zswap

2013-08-18 Thread Minchan Kim
On Sun, Aug 18, 2013 at 04:40:45PM +0800, Bob Liu wrote: > Both zswap and zram are used to compress anon pages in memory so as to reduce > swap io operation. The main different is that zswap uses zbud as its allocator > while zram uses zsmalloc. The other different is zram will create a block > dev

[PATCH 0/4] mm: merge zram into zswap

2013-08-18 Thread Bob Liu
Both zswap and zram are used to compress anon pages in memory so as to reduce swap io operation. The main different is that zswap uses zbud as its allocator while zram uses zsmalloc. The other different is zram will create a block device, the user need to mkswp and swapon it. Minchan has areadly t