tests/intel/xe_vm: Add support for overcommit tests
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v13 Latest2 patches 2 repliesIn review
- v122 patches 1 replySuperseded
- v112 patches 1 replySuperseded
Earlier versions · 10
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v10 | 2 patches | 2 replies | Superseded | |
| v9 | 3 patches | 2 replies | Superseded | |
| v8 | 3 patches | 1 reply | Superseded | |
| v7 posting 3/3 | 3 patches | 3 replies | Superseded | |
| v7 posting 2/3 | 3 patches | 0 replies | Superseded | |
| v7 posting 1/3 | 3 patches | 0 replies | Superseded | |
| v6 | 2 patches | 0 replies | Superseded | |
| v4 posting 2/2 | 2 patches | 3 replies | Superseded | |
| v4 posting 1/2 | 2 patches | 0 replies | Superseded | |
| v3 | 2 patches | 2 replies | Superseded |
Patches in v13 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | lib/xe: Add failable variant of xe_vm_bind_lr_sync()lib/ lib/ | +27 | 0 replies | |
| 2/2 | tests/intel/xe_vm: Add support for overcommit teststests/ | +390 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Thomas Hellström |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH i-g-t v13 0/2] tests/intel/xe_vm: Add support for overcommit tests
Current tests focus on VM creation and basic mode selection, but do not cover overcommit scenarios.
This change adds tests to verify overcommit behavior across different VM modes.
Non-fault mode tests:
- vram-lr-defer: DEFER_BACKING rejects overcommit at bind time
- vram-lr-external-nodefer: Long-running mode with an external BO and no deferred backing
- vram-no-lr: Non-long-running mode
Fault mode tests:
- vram-lr-fault: Fault handling allows graceful overcommit via page faults
- vram-lr-fault-no-overcommit: Verifies NO_VM_OVERCOMMIT blocks same-VM BO eviction during VM_BIND, while still allowing eviction during page-fault OOM handling
These tests validate that VMs respond correctly to memory pressure based on their configuration—by rejecting at bind time, failing during execution, or handling overcommit gracefully via page faults.
Currently, overcommit behavior is tested for VRAM only.
--------------------------------------
Link (historical context):
https://patchwork.freedesktop.org/series/161557/
Sobin Thomas (2):
lib/xe: Add failable variant of xe_vm_bind_lr_sync() tests/intel/xe_vm: Add support for overcommit tests
lib/xe/xe_ioctl.c | 35 ++-- lib/xe/xe_ioctl.h | 2 + tests/intel/xe_vm.c | 391 +++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 417 insertions(+), 11 deletions(-)
Signature · 1 line
2.52.0