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

2016-04-14 Thread Vitaly Wool
>> On Thu, Apr 14, 2016 at 5:53 PM, Seth Jennings wrote: >>> This also means that the unbuddied list is broken in this >>> implementation. num_free_chunks() is calculating the _total_ free >>> space in the page. But that is not that the _usable_ free space by a >>> single object, if the middle

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

2016-04-14 Thread Seth Jennings
On Thu, Apr 14, 2016 at 12:45 PM, Vitaly Wool wrote: > On Thu, Apr 14, 2016 at 5:53 PM, Seth Jennings wrote: >> On Thu, Apr 14, 2016 at 4:06 AM, Vitaly Wool wrote: >>> >>> >>> On Thu, Apr 14, 2016 at 10:48 AM, Vlastimil Babka wrote: On 04/14/2016 10:05 AM, Vitaly Wool wrote: > >>>

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

2016-04-14 Thread Vitaly Wool
On Thu, Apr 14, 2016 at 5:53 PM, Seth Jennings wrote: > On Thu, Apr 14, 2016 at 4:06 AM, Vitaly Wool wrote: >> >> >> On Thu, Apr 14, 2016 at 10:48 AM, Vlastimil Babka wrote: >>> >>> On 04/14/2016 10:05 AM, Vitaly Wool wrote: This patch introduces z3fold, a special purpose allocator for

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

2016-04-14 Thread Seth Jennings
On Thu, Apr 14, 2016 at 4:06 AM, Vitaly Wool wrote: > > > On Thu, Apr 14, 2016 at 10:48 AM, Vlastimil Babka wrote: >> >> On 04/14/2016 10:05 AM, Vitaly Wool wrote: >>> >>> This patch introduces z3fold, a special purpose allocator for storing >>> compressed pages. It is designed to store up to thr

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

2016-04-14 Thread Vitaly Wool
[resending due to mail client issues] On Thu, Apr 14, 2016 at 10:48 AM, Vlastimil Babka wrote: > > On 04/14/2016 10:05 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 >

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

2016-04-14 Thread Vlastimil Babka
On 04/14/2016 10:05 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 simplicity and d

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

2016-04-14 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. The main dif