aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorJoe Thornber <[email protected]>2015-08-31 17:20:08 +0000
committerMike Snitzer <[email protected]>2015-08-31 19:08:14 +0000
commit9153df7405ae04c1b0466de720e0a685cfea1a3a (patch)
treefd347a745c978366deb5521c0c96503fa7145b89 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdm raid: document RAID 4/5/6 discard support (diff)
downloadkernel-9153df7405ae04c1b0466de720e0a685cfea1a3a.tar.gz
kernel-9153df7405ae04c1b0466de720e0a685cfea1a3a.zip
dm cache: fix leaking of deferred bio prison cells
There were two cases where dm_cell_visit_release() was being called, which removes the cell from the prison's rbtree, but the callers didn't also return the cell to the mempool. Fix this by having them call free_prison_cell(). This leak manifested as the 'kmalloc-96' slab growing until OOM. Fixes: 651f5fa2a3 ("dm cache: defer whole cells") Signed-off-by: Joe Thornber <[email protected]> Signed-off-by: Mike Snitzer <[email protected]> Cc: [email protected] # 4.1+
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions