Re: let pool allocators advertise multiple page sizes

2016-11-08 Thread David Gwynne
On Tue, Nov 08, 2016 at 10:57:41AM +1000, David Gwynne wrote: > this turns the pa_pagesz member of a pool allocator into a bitfield. > > pool pages can be many different sizes, they arent restricted to > just the size provided by the hardware. to support this without > introducing a page allocator

let pool allocators advertise multiple page sizes

2016-11-07 Thread David Gwynne
this turns the pa_pagesz member of a pool allocator into a bitfield. pool pages can be many different sizes, they arent restricted to just the size provided by the hardware. to support this without introducing a page allocator per page size, a single page allocator can be used to allocate many dif