diff options
| author | Florian Westphal <fw@strlen.de> | 2017-08-09 20:41:50 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-08-09 16:57:38 -0700 |
| commit | 0cc09020aefe832db23d63cd3a6c889ab7645eec (patch) | |
| tree | 5458da1272db981d04048d558e64baa5bdcdabbf /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | rtnetlink: add reference counting to prevent module unload while dump is in p... (diff) | |
| download | linux-0cc09020aefe832db23d63cd3a6c889ab7645eec.tar.gz linux-0cc09020aefe832db23d63cd3a6c889ab7645eec.zip | |
rtnetlink: small rtnl lock pushdown
instead of rtnl lock/unload at the top level, push it down
to the called function.
This is just an intermediate step, next commit switches protection
of the rtnl_link ops table to rcu, in which case (for dumps) the
rtnl lock is acquired only by the netlink dumper infrastructure
(current lock/unlock/dump/lock/unlock rtnl sequence becomes
rcu lock/rcu unlock/dump).
Signed-off-by: Florian Westphal <fw@strlen.de>
Reviewed-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
