diff options
| author | Christian König <[email protected]> | 2021-04-01 13:45:33 +0000 |
|---|---|---|
| committer | Christian König <[email protected]> | 2021-08-27 07:55:39 +0000 |
| commit | 450b2622bc11037c8108f7d2f2d8a43e980e847d (patch) | |
| tree | cfb2c7a61e4d624967867ffa325d6755f8a44438 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | mm/vmscan: add sync_shrinkers function v3 (diff) | |
| download | kernel-450b2622bc11037c8108f7d2f2d8a43e980e847d.tar.gz kernel-450b2622bc11037c8108f7d2f2d8a43e980e847d.zip | |
drm/ttm: optimize the pool shrinker a bit v2
Switch back to using a spinlock again by moving the IOMMU unmap outside
of the locked region.
This avoids contention especially while freeing pages.
v2: Add a comment explaining why we need sync_shrinkers().
Signed-off-by: Christian König <[email protected]>
Acked-by: Huang Rui <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
