Skip to content

Use huge pages for system memory on binds

Matthew Brost requested to merge (removed):huge_pages_for_system into xe

Based on patch by @thomash: !167 (98362d0c)

Fairly straight forward, use the dma-address cursor to determine if system memory BOs / userptr can use huge pages.

Verified on TGL xe_vm.large-binds* passes and huge pages are used (only 2MB used in the test due to limitation in the allocator).

I'd say let's get this in as @thomash works on !167 (closed) in parallel.

A follow up will update xe_migrate to use large pages for clears / copys.

Edited by Matthew Brost

Merge request reports