diff options
| author | Matthew Auld <matthew.auld@intel.com> | 2026-06-25 16:20:57 +0100 |
|---|---|---|
| committer | Matthew Auld <matthew.auld@intel.com> | 2026-07-01 09:56:46 +0100 |
| commit | cde38f5a5dbac84b57c05e8bc973fc4f63936ca4 (patch) | |
| tree | 59e3af0ef70f3342c75e1440bdf44018d64eef0a /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | c9a8e7daa0afe3161111e27fd92176e608c7f186 (diff) | |
drm/xe: account for dontneed in fdinfo purgeable
Now that Xe supports explicit madvise WILLNEED/DONTNEED states,
userspace can mark memory in any placement as eligible for purging.
Update bo_meminfo to also include any BO explicitly marked as DONTNEED
in the purgeable statistics, ensuring fdinfo accurately reflects all
memory offered up for reclamation.
v2 (Sashiko):
- Also update the drm_print_memory_stats() so we don't mask out !=
SYSTEM
Assisted-by: Copilot:gemini-3.1-pro-preview
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Arvind Yadav <arvind.yadav@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260625152054.450125-7-matthew.auld@intel.com
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
