Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Improve VMA merging for CPU-address-mirrored mappings
@ 2025-09-22 10:43 Himal Prasad Ghimiray
  2025-09-22 10:43 ` [PATCH 1/4] drm/xe: Add helper to extend CPU-mirrored VMA range for merge Himal Prasad Ghimiray
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Himal Prasad Ghimiray @ 2025-09-22 10:43 UTC (permalink / raw)
  To: intel-xe; +Cc: Himal Prasad Ghimiray

This patch series introduces improvements to VMA range handling by
identifying and extending mergeable regions around CPU-address-mirrored
VMAs with default attributes.

The goal is to reduce fragmentation caused by `bo_unmap` and `madvise`
operations that leave adjacent ranges free. By computing an extended
range and applying it during mapping, the series enables better
coalescing of compatible VMAs.

Himal Prasad Ghimiray (4):
  drm/xe: Add helper to extend CPU-mirrored VMA range for merge
  drm/xe: Merge adjacent default-attribute VMAs during garbage
    collection
  drm/xe/svm: Extend MAP range to reduce vma fragmentation
  drm/xe/svm: Enable UNMAP for VMA merging operations

 drivers/gpu/drm/xe/xe_svm.c      | 62 ++++++++++++++++++--------------
 drivers/gpu/drm/xe/xe_vm.c       | 54 ++++++++++++++++++++++++++--
 drivers/gpu/drm/xe/xe_vm.h       |  3 ++
 drivers/gpu/drm/xe/xe_vm_types.h |  1 +
 4 files changed, 91 insertions(+), 29 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-09-24  2:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-22 10:43 [PATCH 0/4] Improve VMA merging for CPU-address-mirrored mappings Himal Prasad Ghimiray
2025-09-22 10:43 ` [PATCH 1/4] drm/xe: Add helper to extend CPU-mirrored VMA range for merge Himal Prasad Ghimiray
2025-09-24  2:20   ` Matthew Brost
2025-09-22 10:43 ` [PATCH 2/4] drm/xe: Merge adjacent default-attribute VMAs during garbage collection Himal Prasad Ghimiray
2025-09-22 10:43 ` [PATCH 3/4] drm/xe/svm: Extend MAP range to reduce vma fragmentation Himal Prasad Ghimiray
2025-09-24  2:21   ` Matthew Brost
2025-09-22 10:43 ` [PATCH 4/4] drm/xe/svm: Enable UNMAP for VMA merging operations Himal Prasad Ghimiray
2025-09-22 11:08 ` ✓ CI.KUnit: success for Improve VMA merging for CPU-address-mirrored mappings Patchwork
2025-09-22 12:31 ` Patchwork
2025-09-22 14:22 ` ✗ Xe.CI.Full: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox