summaryrefslogtreecommitdiffstats
path: root/kernel/uid16.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-08-17 16:47:34 +0200
committerChris Wilson <chris@chris-wilson.co.uk>2019-08-17 19:03:00 +0200
commitf86a802bf3a7c28e4c4ea032fa2e61398dbccd5d (patch)
tree9461feb021ab3950edcb90efe4c2936f09c67bf0 /kernel/uid16.c
parentdma-fence: Shrink size of struct dma_fence (diff)
downloadlinux-f86a802bf3a7c28e4c4ea032fa2e61398dbccd5d.tar.xz
linux-f86a802bf3a7c28e4c4ea032fa2e61398dbccd5d.zip
dma-fence: Avoid list_del during fence->cb_list iteration
Before we notify the fence signal callback, we remove the cb from the list. However, since we are processing the entire list from underneath the spinlock, we do not need to individual delete each element, but can simply reset the link and the entire list. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Christian König <christian.koenig@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190817144736.7826-4-chris@chris-wilson.co.uk
Diffstat (limited to 'kernel/uid16.c')
0 files changed, 0 insertions, 0 deletions