aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorStanislav Kinsbursky <[email protected]>2011-10-25 14:16:36 +0300
committerTrond Myklebust <[email protected]>2011-10-25 13:15:48 +0200
commit914edb1bb2abe2ae4775368f2ffb7f41010fb81e (patch)
treec3a46e520de7e003c1a867dae4aa3740c4f074d2 /tools/perf/util/scripting-engines/trace-event-python.c
parentdc6f55e9f8dac4b6479be67c5c9128ad37bb491f (diff)
SUNRPC: introduce helpers for reference counted rpcbind clients
v6: 1) added write memory barrier to rpcb_set_local to make sure, that rpcbind clients become valid before rpcb_users assignment 2) explicitly set rpcb_users to 1 instead of incrementing it (looks clearer from my pow). v5: fixed races with rpcb_users in rpcb_get_local() This helpers will be used for dynamical creation and destruction of rpcbind clients. Variable rpcb_users is actually a counter of lauched RPC services. If rpcbind clients has been created already, then we just increase rpcb_users. Signed-off-by: Stanislav Kinsbursky <[email protected]> Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions