aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c
diff options
context:
space:
mode:
authorTvrtko Ursulin <[email protected]>2025-06-03 11:27:50 +0000
committerTvrtko Ursulin <[email protected]>2025-06-03 14:56:32 +0000
commit22b929b25293208d9d34ff6fa783c6788e0b791c (patch)
tree44c831fcc834e47ae556c14898bcdc79939c5342 /drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c
parentdrm/ttm: Respect the shrinker core free target (diff)
downloadkernel-22b929b25293208d9d34ff6fa783c6788e0b791c.tar.gz
kernel-22b929b25293208d9d34ff6fa783c6788e0b791c.zip
drm/ttm: Increase pool shrinker batch target
The default core shrink target of 128 pages (SHRINK_BATCH) is quite low relative to how cheap TTM pool shrinking is, and how the free pages are distributed in page order pools. We can make the target a bit more aggressive by making it roughly the average number of pages across all pools, freeing more of the cached pages every time shrinker core invokes our callback. Signed-off-by: Tvrtko Ursulin <[email protected]> Cc: Christian König <[email protected]> Cc: Thomas Hellström <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Tvrtko Ursulin <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c')
0 files changed, 0 insertions, 0 deletions