Skip to content

winsys/amdgpu: reduce wasted memory due to slabs and enable slabs for bigger buffers

Marek Olšák requested to merge mareko/mesa:amdgpu-slabs into master

This reduces memory usage by approximately 2.5%.

It also reduces the number of buffers allocated by the kernel by using slabs for bigger sizes, which also improves page translation performance. This increases memory usage, but it's offset by a stronger optimization that reduces memory usage, so the total difference is 2.5% reduction.

Merge request reports