diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2018-05-23 10:11:13 -0700 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2018-05-24 13:58:39 +0100 |
commit | 6708be936715fd673273dede40367b2ea0cba768 (patch) | |
tree | 24c9daf6c248b92fcd7bf647e261469e67ed736e /tools/perf/scripts/python/futex-contention.py | |
parent | 8c99e120ffcabc429d74e1e4d10db893c6888ef4 (diff) |
PCI: hv: Convert remove_lock to refcount
Use refcount instead of atomic for the reference counting
on bus. Refcount is safer because it handles overflow correctly.
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
[lorenzo.pieralisi@arm.com: updated commit subject]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions