Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/5] Improve VMA merging for CPU-address-mirrored mappings
@ 2025-11-03  6:09 Himal Prasad Ghimiray
  2025-11-03  5:53 ` ✓ CI.KUnit: success for Improve VMA merging for CPU-address-mirrored mappings (rev4) Patchwork
                   ` (7 more replies)
  0 siblings, 8 replies; 15+ messages in thread
From: Himal Prasad Ghimiray @ 2025-11-03  6:09 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.

-v2
Rebase
Add assert for vm lock 

-v3
fix Unbind failure at check_ufence

-v4
Fix vma lookup 

Himal Prasad Ghimiray (5):
  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
  drm/xe/vm: Skip ufence association for CPU address mirror VMA during
    MAP

 drivers/gpu/drm/xe/xe_svm.c      | 62 ++++++++++++++++++--------------
 drivers/gpu/drm/xe/xe_vm.c       | 59 +++++++++++++++++++++++++++---
 drivers/gpu/drm/xe/xe_vm.h       |  3 ++
 drivers/gpu/drm/xe/xe_vm_types.h |  3 +-
 4 files changed, 96 insertions(+), 31 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2025-11-24 16:58 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-03  6:09 [PATCH v4 0/5] Improve VMA merging for CPU-address-mirrored mappings Himal Prasad Ghimiray
2025-11-03  5:53 ` ✓ CI.KUnit: success for Improve VMA merging for CPU-address-mirrored mappings (rev4) Patchwork
2025-11-03  6:09 ` [PATCH v4 1/5] drm/xe: Add helper to extend CPU-mirrored VMA range for merge Himal Prasad Ghimiray
2025-11-22 21:48   ` Matthew Brost
2025-11-03  6:09 ` [PATCH v4 2/5] drm/xe: Merge adjacent default-attribute VMAs during garbage collection Himal Prasad Ghimiray
2025-11-22 21:55   ` Matthew Brost
2025-11-03  6:09 ` [PATCH v4 3/5] drm/xe/svm: Extend MAP range to reduce vma fragmentation Himal Prasad Ghimiray
2025-11-03  6:09 ` [PATCH v4 4/5] drm/xe/svm: Enable UNMAP for VMA merging operations Himal Prasad Ghimiray
2025-11-22 22:01   ` Matthew Brost
2025-11-24  6:01     ` Ghimiray, Himal Prasad
2025-11-24 16:58       ` Matthew Brost
2025-11-03  6:09 ` [PATCH v4 5/5] drm/xe/vm: Skip ufence association for CPU address mirror VMA during MAP Himal Prasad Ghimiray
2025-11-22 22:02   ` Matthew Brost
2025-11-03  7:04 ` ✓ Xe.CI.BAT: success for Improve VMA merging for CPU-address-mirrored mappings (rev4) Patchwork
2025-11-03  8:20 ` ✗ 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