diff options
author | 2018-01-17 23:52:03 -0500 | |
---|---|---|
committer | 2018-01-18 16:14:03 -0500 | |
commit | fd5002d6a3c602664b07668a24df4ef7a43bf078 (patch) | |
tree | 2cbc653a018d601b3dfe33a9d815038f06498c21 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/amdgpu: only check for ECC on Vega10 (diff) | |
download | linux-dev-fd5002d6a3c602664b07668a24df4ef7a43bf078.tar.xz linux-dev-fd5002d6a3c602664b07668a24df4ef7a43bf078.zip |
drm/ttm: Don't add swapped BOs to swap-LRU list
A BO that's already swapped would be added back to the swap-LRU list
for example if its validation failed under high memory pressure. This
could later lead to swapping it out again and leaking previous swap
storage.
This commit adds a condition to prevent that from happening.
v2: Check page_flags instead of swap_storage
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions