diff options
| author | Jakub Kicinski <[email protected]> | 2017-10-09 10:30:14 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-10-10 12:30:16 -0700 |
| commit | d66f2b91f95b56e31772b9faa0d036cd2e53cb02 (patch) | |
| tree | 7443577f00bc649d464047dba4b3ece5fa0fb7e2 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | c9c35995bcf812ee8136f634c25bc6ccc3021d4c (diff) | |
bpf: don't rely on the verifier lock for metadata_dst allocation
bpf_skb_set_tunnel_*() functions require allocation of per-cpu
metadata_dst. The allocation happens upon verification of the
first program using those helpers. In preparation for removing
the verifier lock, use cmpxchg() to make sure we only allocate
the metadata_dsts once.
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions