aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorTuong Lien <[email protected]>2019-11-08 12:05:08 +0700
committerDavid S. Miller <[email protected]>2019-11-08 14:01:59 -0800
commit2a7ee696f7b000a970dcce0cb06fdcd0a9e6ee76 (patch)
tree5db483507dfbc4b82a8097cd1c6562f2a6c0f99a /tools/perf/scripts/python/sctop.py
parentf1ff4e80f848a2ea0622cbe2c72e44409ba90546 (diff)
tipc: add reference counter to bearer
As a need to support the crypto asynchronous operations in the later commits, apart from the current RCU mechanism for bearer pointer, we add a 'refcnt' to the bearer object as well. So, a bearer can be hold via 'tipc_bearer_hold()' without being freed even though the bearer or interface can be disabled in the meanwhile. If that happens, the bearer will be released then when the crypto operation is completed and 'tipc_bearer_put()' is called. Acked-by: Ying Xue <[email protected]> Acked-by: Jon Maloy <[email protected]> Signed-off-by: Tuong Lien <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions