diff options
author | 2014-10-23 15:57:27 +0300 | |
---|---|---|
committer | 2014-10-26 22:46:04 -0400 | |
commit | bf1bac5b7882daa41249f85fbc97828f0597de5c (patch) | |
tree | 2243934db57482a50d163c53db8cf7f5836dac22 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net/mlx5_core: Call synchronize_irq() before freeing EQ buffer (diff) | |
download | linux-dev-bf1bac5b7882daa41249f85fbc97828f0597de5c.tar.xz linux-dev-bf1bac5b7882daa41249f85fbc97828f0597de5c.zip |
net/mlx4_core: Call synchronize_irq() before freeing EQ buffer
After moving the EQ ownership to software effectively destroying it, call
synchronize_irq() to ensure that any handler routines running on other CPU
cores finish execution. Only then free the EQ buffer.
The same thing is done when we destroy a CQ which is one of the sources
generating interrupts. In the case of CQ we want to avoid completion handlers
on a CQ that was destroyed. In the case we do the same to avoid receiving
asynchronous events after the EQ has been destroyed and its buffers freed.
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions