Re: [PATCH v4] z3fold: the 3-fold allocator for compressed pages

2016-05-27 Thread Dan Streetman
On Fri, May 27, 2016 at 6:55 AM, Vitaly Wool wrote: > Hello Dan, > > On Fri, May 20, 2016 at 2:39 PM, Dan Streetman wrote: > > >>> +static int z3fold_compact_page(struct z3fold_header *zhdr) >>> +{ >>> + struct page *page = virt_to_page(zhdr); >>>

Re: [PATCH v4] z3fold: the 3-fold allocator for compressed pages

2016-05-27 Thread Dan Streetman
On Fri, May 27, 2016 at 6:55 AM, Vitaly Wool wrote: > Hello Dan, > > On Fri, May 20, 2016 at 2:39 PM, Dan Streetman wrote: > > >>> +static int z3fold_compact_page(struct z3fold_header *zhdr) >>> +{ >>> + struct page *page = virt_to_page(zhdr); >>> + void *beg = zhdr; >>> + >>> + >>>

Re: [PATCH v4] z3fold: the 3-fold allocator for compressed pages

2016-05-27 Thread Vitaly Wool
Hello Dan, On Fri, May 20, 2016 at 2:39 PM, Dan Streetman wrote: >> +static int z3fold_compact_page(struct z3fold_header *zhdr) >> +{ >> + struct page *page = virt_to_page(zhdr); >> + void *beg = zhdr; >> + >> + >> + if (!test_bit(MIDDLE_CHUNK_MAPPED,

Re: [PATCH v4] z3fold: the 3-fold allocator for compressed pages

2016-05-27 Thread Vitaly Wool
Hello Dan, On Fri, May 20, 2016 at 2:39 PM, Dan Streetman wrote: >> +static int z3fold_compact_page(struct z3fold_header *zhdr) >> +{ >> + struct page *page = virt_to_page(zhdr); >> + void *beg = zhdr; >> + >> + >> + if (!test_bit(MIDDLE_CHUNK_MAPPED, >private) && >> +

Re: [PATCH v4] z3fold: the 3-fold allocator for compressed pages

2016-05-20 Thread Dan Streetman
On Mon, May 9, 2016 at 9:17 AM, Vitaly Wool wrote: > This patch introduces z3fold, a special purpose allocator for storing > compressed pages. It is designed to store up to three compressed pages per > physical page. It is a ZBUD derivative which allows for higher

Re: [PATCH v4] z3fold: the 3-fold allocator for compressed pages

2016-05-20 Thread Dan Streetman
On Mon, May 9, 2016 at 9:17 AM, Vitaly Wool wrote: > This patch introduces z3fold, a special purpose allocator for storing > compressed pages. It is designed to store up to three compressed pages per > physical page. It is a ZBUD derivative which allows for higher compression > ratio keeping the

[PATCH v4] z3fold: the 3-fold allocator for compressed pages

2016-05-09 Thread Vitaly Wool
This patch introduces z3fold, a special purpose allocator for storing compressed pages. It is designed to store up to three compressed pages per physical page. It is a ZBUD derivative which allows for higher compression ratio keeping the simplicity and determinism of its predecessor. This patch

[PATCH v4] z3fold: the 3-fold allocator for compressed pages

2016-05-09 Thread Vitaly Wool
This patch introduces z3fold, a special purpose allocator for storing compressed pages. It is designed to store up to three compressed pages per physical page. It is a ZBUD derivative which allows for higher compression ratio keeping the simplicity and determinism of its predecessor. This patch