Re: [Mesa-dev] [PATCH 12.5/18] anv/allocator: Tweak the block pool growing algorithm

2017-05-03 Thread Juan A. Suarez Romero
Reviewed-by: Juan A. Suarez Romero On Wed, 2017-04-26 at 10:01 -0700, Jason Ekstrand wrote: > The old algorithm worked fine assuming a constant block size. We're > about to break that assumption so we need an algorithm that's a bit more > robust against suddenly growing by a huge amount compare

[Mesa-dev] [PATCH 12.5/18] anv/allocator: Tweak the block pool growing algorithm

2017-04-26 Thread Jason Ekstrand
The old algorithm worked fine assuming a constant block size. We're about to break that assumption so we need an algorithm that's a bit more robust against suddenly growing by a huge amount compared to the currently allocated quantity of memory. --- src/intel/vulkan/anv_allocator.c | 28 +