aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorVlad Buslov <[email protected]>2020-02-17 12:12:09 +0200
committerDavid S. Miller <[email protected]>2020-02-17 14:17:02 -0800
commit7a47281439ba00b11fc098f36695522184ce5a82 (patch)
tree1e8992267d2b3ede0f0a436aab381e768cfcb8ce /tools/perf/scripts/python/syscall-counts-by-pid.py
parent92df9f8a745ee9b8cc250514272345cb2e74e7ef (diff)
net: sched: lock action when translating it to flow_action infra
In order to remove dependency on rtnl lock, take action's tcfa_lock when constructing its representation as flow_action_entry structure. Refactor tcf_sample_get_group() to assume that caller holds tcf_lock and don't take it manually. This callback is only called from flow_action infra representation translator which now calls it with tcf_lock held, so this refactoring is necessary to prevent deadlock. Allocate memory with GFP_ATOMIC flag for ip_tunnel_info copy because tcf_tunnel_info_copy() is only called from flow_action representation infra code with tcf_lock spinlock taken. Signed-off-by: Vlad Buslov <[email protected]> Acked-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions