diff options
author | 2024-03-28 08:27:49 +0100 | |
---|---|---|
committer | 2024-04-03 09:59:38 +0100 | |
commit | 464eb03c4a7cfb32cb3324249193cf6bb5b35152 (patch) | |
tree | 450903621dce4c85b8d7cde96a74dc75e5b0235d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue (diff) | |
download | wireguard-linux-464eb03c4a7cfb32cb3324249193cf6bb5b35152.tar.xz wireguard-linux-464eb03c4a7cfb32cb3324249193cf6bb5b35152.zip |
rtnetlink: add guard for RTNL
The new guard/scoped_gard can be useful for the RTNL as well,
so add a guard definition for it. It gets used like
{
guard(rtnl)();
// RTNL held until end of block
}
or
scoped_guard(rtnl) {
// RTNL held in this block
}
as with any other guard/scoped_guard.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions