diff options
| author | Matthew Brost <matthew.brost@intel.com> | 2026-09-17 13:31:58 -0700 |
|---|---|---|
| committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2026-09-21 08:59:16 -0400 |
| commit | be1df8badae513e01d9575398438716cfae18655 (patch) | |
| tree | 6f4772d080279f828d7d17796d38031ab8893f4f /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | c7a925c84704ec431598f9411dd89c0e16ae34ae (diff) | |
| download | linux-next-be1df8badae513e01d9575398438716cfae18655.tar.gz linux-next-be1df8badae513e01d9575398438716cfae18655.zip | |
drm/xe: Keep walking on SVM eviction failure
The desired behavior for SVM eviction failures, which can occur due to
various uncontrollable races, is for TTM to continue walking the LRU
list and look for another eviction candidate. This is expressed by
returning -ENOSPC from the ->move() callback.
Adjust the SVM eviction failure path because of races in ->move() to
return -ENOSPC so that TTM continues searching for another buffer to
evict.
Fixes: 3ca608dc7561 ("drm/xe: Basic SVM BO eviction")
Cc: stable@vger.kernel.org
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Link: https://patch.msgid.link/20260917203158.292823-1-matthew.brost@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
(cherry picked from commit 36a86c23588b8f57c9d20feb4cf5a2ab27e3baba)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
