aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2019-08-17 15:47:34 +0100
committerChris Wilson <[email protected]>2019-08-17 18:03:00 +0100
commitf86a802bf3a7c28e4c4ea032fa2e61398dbccd5d (patch)
tree9461feb021ab3950edcb90efe4c2936f09c67bf0 /lib/mpi/mpi-internal.h
parent4fe3997a68f3300c73adc196ff33a952febe6974 (diff)
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 <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: Christian König <[email protected]> Reviewed-by: Christian König <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions