Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 i-g-t 1/1] tests/intel/xe_evict: overcommit tests for fault-mode and non-fault-mode VMs
@ 2026-01-22 12:54 Sobin Thomas
  2026-01-22 12:54 ` Sobin Thomas
  2026-01-22 16:39 ` ✗ Fi.CI.BUILD: failure for series starting with [v3,i-g-t,1/1] " Patchwork
  0 siblings, 2 replies; 4+ messages in thread
From: Sobin Thomas @ 2026-01-22 12:54 UTC (permalink / raw)
  To: igt-dev, thomas.hellstrom, nishit.sharma; +Cc: Sobin Thomas

The existing tests in xe_evict focus on system-wide memory allocation
across multiple processes. However, enhanced coverage for VRAM
overcommit handling in different VM modes was not there.

This change adds three new tests to verify VM overcommit handling.

 test_evict_oom(): Allocates BOs aggressively in a loop until
 VRAM overcommit occurs testing LR mode error handling.

 test_vm_nonfault_mode_overcommit() verifies that non-fault mode VMs
 properly reject overcommit attempts.

 test_vm_fault_mode_overcommit() validates that fault-mode VMs can
 handle memory pressure gracefully by touching pages to trigger page
 faults.

Sobin Thomas (1):
  tests/intel/xe_evict: overcommit tests for fault-mode and
    non-fault-mode VMs

 tests/intel/xe_evict.c | 310 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 310 insertions(+)

-- 
2.51.0


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

end of thread, other threads:[~2026-01-23  8:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-22 12:54 [PATCH v3 i-g-t 1/1] tests/intel/xe_evict: overcommit tests for fault-mode and non-fault-mode VMs Sobin Thomas
2026-01-22 12:54 ` Sobin Thomas
2026-01-23  8:11   ` Sharma, Nishit
2026-01-22 16:39 ` ✗ Fi.CI.BUILD: failure for series starting with [v3,i-g-t,1/1] " Patchwork

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