summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohn Hurley <john.hurley@netronome.com>2017-11-02 11:31:30 +0300
committerDavid S. Miller <davem@davemloft.net>2017-11-02 14:27:11 +0300
commitdc4646a950153242313ed340f0a404de38b21d5c (patch)
treeccd8ef1fda021cf6970f048a36d493c36524c5b5 /tools/perf/scripts/python
parent2df7b2d20622f98bca2f001bb0e8d8bee01782ac (diff)
downloadlinux-dc4646a950153242313ed340f0a404de38b21d5c.tar.xz
nfp: flower: vxlan - ensure no sleep in atomic context
Functions called by the netevent notifier must be in atomic context. Change the mutex to spinlock and ensure mem allocations are done with the atomic flag. Also, remove unnecessary locking after notifiers are unregistered. Signed-off-by: John Hurley <john.hurley@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions