aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorFelix Kuehling <[email protected]>2018-01-18 04:52:03 +0000
committerAlex Deucher <[email protected]>2018-01-18 21:14:03 +0000
commitfd5002d6a3c602664b07668a24df4ef7a43bf078 (patch)
tree2cbc653a018d601b3dfe33a9d815038f06498c21 /fs/jbd2/commit.c
parentdrm/amdgpu: only check for ECC on Vega10 (diff)
downloadkernel-fd5002d6a3c602664b07668a24df4ef7a43bf078.tar.gz
kernel-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 <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions