aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMaxim Mikityanskiy <[email protected]>2019-12-17 16:20:44 +0000
committerDaniel Borkmann <[email protected]>2019-12-19 16:20:49 +0100
commit9cf88808ad6a0f1e958e00abd9a081295fe6da0c (patch)
treeea8073ee0ed7c7d17b42708ac44d2a5c27936995 /tools/perf/scripts/python/stackcollapse.py
parent06870682087b58398671e8cdc896cd62314c4399 (diff)
net/mlx5e: Fix concurrency issues between config flow and XSK
After disabling resources necessary for XSK (the XDP program, channels, XSK queues), use synchronize_rcu to wait until the XSK wakeup function finishes, before freeing the resources. Suspend XSK wakeups during switching channels. If the XDP program is being removed, synchronize_rcu before closing the old channels to allow XSK wakeup to complete. Signed-off-by: Maxim Mikityanskiy <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions