aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorMiklos Szeredi <[email protected]>2015-07-01 16:26:06 +0200
committerMiklos Szeredi <[email protected]>2015-07-01 16:26:06 +0200
commit365ae710df91edc97d24817e3271e01bffaaee32 (patch)
tree3e535e7168b57fc310119e29947d2281ed60f484 /tools/perf/scripts/python/net_dropmonitor.py
parent77cd9d488b32d19be852ad4d310ef13701557d61 (diff)
fuse: request_end(): do once
When the connection is aborted it is possible that request_end() will be called twice. Use atomic test and set to do the actual ending only once. test_and_set_bit() also provides the necessary barrier semantics so no explicit smp_wmb() is necessary. Signed-off-by: Miklos Szeredi <[email protected]> Reviewed-by: Ashish Samant <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions