diff options
| author | Matthew Brost <matthew.brost@intel.com> | 2026-01-07 12:57:32 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-01-30 10:32:27 +0100 |
| commit | 85d4652f9cdcf334a096262ac743a197f84450dd (patch) | |
| tree | 4546392a7c26d20a2e4ed82bf720f1de3a142276 /include/net/aligned_data.h | |
| parent | 569ed6a73e927a34cae4ae6de1464c0737a5ec44 (diff) | |
drm/xe: Adjust page count tracepoints in shrinker
commit ca9e5115e870b9a531deb02752055a8a587904e3 upstream.
Page accounting can change via the shrinker without calling
xe_ttm_tt_unpopulate(), which normally updates page count tracepoints
through update_global_total_pages. Add a call to
update_global_total_pages when the shrinker successfully shrinks a BO.
v2:
- Don't adjust global accounting when pinning (Stuart)
Cc: stable@vger.kernel.org
Fixes: ce3d39fae3d3 ("drm/xe/bo: add GPU memory trace points")
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Stuart Summers <stuart.summers@intel.com>
Link: https://patch.msgid.link/20260107205732.2267541-1-matthew.brost@intel.com
(cherry picked from commit cc54eabdfbf0c5b6638edc50002cfafac1f1e18b)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
