Skip to content

zink: fix slab allocator sizing

Mike Blumenkrantz requested to merge zmike/mesa:zink-sub into main

now that the mem type is passed directly to pb, there have to be enough slabs to allocate all the mem types (not heaps), so create memoryTypeCount slabs to allow this

fixes #8369 (closed)

Fixes: f6d3a575 ("zink: zink_heap isn't 1-to-1 with memoryTypeIndex"

Merge request reports